Jump to content
  • Advertisement
Sign in to follow this  
Mertcan Ekiz

SDL Game: Tic Tac Toe v0.1

This topic is 2259 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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

    well done!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!