Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


SDL Game: Tic Tac Toe v0.1


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 mertcanekiz   Members   -  Reputation: 137

Like
2Likes
Like

Posted 18 July 2012 - 01:26 AM

Hi! I'm new to this website, so I apologize if this forum is not the place to open this topic, but here it is:

I've recently started learning C++ (around 3 weeks I suppose) and all those console stuff was boring and I knew most of them from my previous knowledge of Java, so I decided to move on to SDL. And I created a Tic Tac Toe game. This is my first game in C++ so it's not really entertaining right now, but I'm planning to add AI, or maybe multiplayer via networking. I included the Code::Blocks source folder so please take a look at it and let me know if I did something wrong. Thanks!

Play directly on Windows
Source code to compile on other systems

Sponsor:

#2 eppo   Crossbones+   -  Reputation: 2509

Like
0Likes
Like

Posted 18 July 2012 - 06:25 AM

  • Plays like a charm.
  • Absolutely bug-free.
  • Code looks tidy.
well done!

#3 stitchs   Crossbones+   -  Reputation: 1307

Like
1Likes
Like

Posted 18 July 2012 - 03:28 PM

Nice work. Reading through the code it's incredibly manageable and a lot less in the way of fluff when compared to one I'm currently implementing, though I'm using mine as a base for design patterns.

Two things that could be nice little additions/adjustments:
  • Randomise which shape starts: as this could take away that "First move, always win" possibility.
  • The mouse cursor appears after the first round is won: I'm not sure if the intention is for the Arrow to be shown from the start or if it isn't meant to be shown at all. Either way, one of these doesn't seem intended.

Other than that. Great work, and it makes me look at some of my code slightly differently. =D

Stitchs

Edited by stitchs, 18 July 2012 - 03:28 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS