View Full Version : tic-tac-toe is good
abrege
12-10-2002, 09:33 PM
Try my tic-tac-toe game out. Includes source. Please tell me what I can do to make the game better :D
abrege
12-10-2002, 09:36 PM
ah
Nutshell
12-10-2002, 10:06 PM
Halo,
Making it better would of course be adding a little bit of AI, like blocking a move and making a winning move when it's available ^>^.
MadHatter
12-10-2002, 10:14 PM
yep.. i agree with Nutshell. it's very easy to win. also, when i didn't win, and all the spaces got taken, it froze up just when i made my last move, and i had to close it... then when i tried to go a place where there was already a mark, my whole computer froze :( might want to check if there's a mark on a given spot before marking it...
abrege
12-10-2002, 10:19 PM
ouch :( I'll fix those problems and attempt to make some AI!
abrege
12-10-2002, 10:31 PM
Now it shouldn't freeze up! But I haven't figured out a way to tell if it's a cat's game :mad:
novacain
12-10-2002, 11:59 PM
Strange. I have been playing with some AI for Tic Tac Toe.
This is a MS Windows based app.
Let me know if you find any bugs
Let me know if you can beat it.
Nutshell
12-11-2002, 02:00 AM
Nope, i couldn't beat it.
BUt anywayz i believe that the nature of Tic Tac TOe is too simple, even human players come to a draw very frequently.
TechWins
12-11-2002, 02:01 AM
Go download my game called Dynamic Toe at my site (follow the link in my sig) to see a version of Tic-Tac-Toe that is more dynamic. It allows you to set the grid to any size you want. The AI isn't all that great, because it's slightly more difficult to have it adapt on all situations, plus I didn't spend much time on the game at all. Anyways, the game should be able to give you some help on your TTT game. Good luck fixing up your game.:)
Travis Dane
12-11-2002, 10:25 AM
Ha, i've beaten you're AI sensless:p
Love Tic-Tac-Toe
PS: You should mask the mouse cursor it overwrites some things
^
Novacain's AI that is
PS2: Beaten abrege's AI too
novacain
12-11-2002, 11:53 PM
Travis Dane
Could you;
Please post a pic of your winning board (so I can see where the AI fails)
and if possible one of the mouse error.
What operating system are you using?
Travis Dane
12-12-2002, 07:50 AM
Don't have a place right now where i can upload it but il try
to explian in plain text:
if whe assume that the layout of the field is this:
123
456
789
Then it happend like this:
Me: 1
AI: 5
Me: 9
AI: 7
Me: 3
AI: 6
Me: 2
I win
And for the mouse, the mouse bitmap is a white square with a
cross or circle,but the white where the cross or circle is painted
over isnt masked
PJYelton
12-12-2002, 09:57 AM
Here is my console based tictactoe game I made a couple of months ago as a precursor to my connect four and checkers games. As far as I know its unbeatable, but please let me know if you can do it!
Travis Dane
12-12-2002, 10:03 AM
Yeah, its unbeatable, isnt so hard is it?
novacain
12-12-2002, 08:51 PM
Thanks Travis Dane, will try to improve its game.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.