-
Tic-Tac-Toe
This is my first game, so I'm happy about it. I know it isn't much, but you have to start off somewhere. There is human vs human play and human vs AI play. Please post any comments you have regarding the game.:)
BtW, this game may be known to you as Noughts and Crosses.
Well, after saying that the AI is unbeatable (at least I thought it was:o) many people proved me wrong. So I felt the need to improve the AI, however it is still beatable, and other parts of the game. The new version is v1.1e, and the old version of v1.0e became no longer available after 43 downloads.
version history
-------------------
v1.1e
-------
-ability to play more than one game while not having to close window
-when playing more than one game the score is kept track of
-a win equals 2 points, a draw equals 1 point, and a loss equals 0 points
v1.0e
-------
-created the basis for the game
-human vs human play and AI vs human play
-
nice!
Very nice! It really is the best console tic-tac-toe game I have seen. And there are a lot of them out there. It runs smoothly, and the interface is easy. Good job!
-
very good for a first game. and since you have used AI its thats even better.
-
Cool stuff
I like it, good centered writing and I like the board. AI is pretty smart to. Good job :)
-
I wanted to attach my tictactoe game but dont know how :(
-
Thanks for all of you're positive comments.:) The only problem with the game is that the AI is unbeatable. I actually had intentions of making the AI beatable, but I forgot to do that. Since this game isn't of much importance I'm not going to change it. Plus I will always be able to say that I've made an unbeatable AI.;)
To the unregistered user, I don't think you can attach any files while being unregistered. Once you are registered, though, all you have to do is attach the file in one of your posts...go to browse and locate the file.
-
The AI is hard but not unbeatable.
-
-
cool game. maybe not unbeatable, but I haven't won one against it yet! :(
-
I beat the AI in the first game i played so its not unbeatable.
BOW DOWN TO THE GRANDMASTER OF TIC-TAC-TOE
:p
-
Oh man I beat it again, AM I GOOD OR WHAT.
here a screenshot.
also if you notice something funny my version is different from Sentaku senshi.
:p
-
forgot the attachment :rolleyes:
-
Well, after saying that the AI is unbeatable (at least I thought it was) many people proved me wrong. So I felt the need to improve the AI, however it is still beatable, and other parts of the game. The new version is v1.1e, and the old version of v1.0e became no longer available after 43 downloads.
<<I wrote that in my original post, as well>>
You can download the new version (that's if you want to;) ) in my original post.
-
Instead of making the user input a row and column.. why not make it a single number? I have an old tictactoe I made here, this is how I did it:
Code:
switch (move)
{
case 1: { x = 0; y = 0; break; }
case 2: { x = 0; y = 1; break; }
case 3: { x = 0; y = 2; break; }
case 4: { x = 1; y = 0; break; }
case 5: { x = 1; y = 1; break; }
case 6: { x = 1; y = 2; break; }
case 7: { x = 2; y = 0; break; }
case 8: { x = 2; y = 1; break; }
case 9: { x = 2; y = 2; break; }
{
cout << "\n\tInvalid input, please restate->";
getInput(playerup);
}
}
-
hi, can you use the minimax algo for your tictactoe game? I'm also doing a tictactoe game and i do understand the concept of minimax but i don't know how to implement it in C/c++ :(