Welcome
Welcome to the forums of AntiRTFM's Absolute N00b Spoonfeed C++ Tutorials!

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Tic-Tac-Toe

Got an idea for a practice project / debug snippet / short-code contest / etc? Tell us about it here!

Tic-Tac-Toe

Postby Ruddie on Wed Sep 23, 2009 11:30 am

Well, here we go. creating your own Tic-Tac-Toe game!

I managed to do it (although I don't got the code anymore, but I'll make it again if someone really needs it =P).

Well, I suppose I don't have to tell you want you're going to have to put into this program.
As kinda everyone knows what tic-tac-toe is. (If you don't then I'll explain it to you, don't worry!).

You might want to use the - system("CLS") - command, which clears the screen, but it's not required.

The things you can have to make it a LOT more fun, and given how hard they are:

Easy:
- Being able to enter a player name, instead of just player1 vs player2, let the players enter their own names (This might be hard if you don't know about strings, if you don't .. Please look it up in antiRTFM's tutorials. I promise that strings are not that hard!).

Hard:
- Getting some AI! (Try to look at random numbers here, this is a tough one!).

Got any more things that can make it more fun? Post them here and I'll add them (At least, if their not pointless :o )



By Ruud
Cheese tastes good!
User avatar
Ruddie
 
Posts: 36
Joined: Tue Sep 22, 2009 3:56 pm
Location: Netherlands

Return to -- Code Practice Submissions --

Who is online

Users browsing this forum: No registered users and 0 guests