
-----------------------------------
spokesman
Sat Jan 17, 2004 4:35 pm

Tic Tac Toe
-----------------------------------
this is my first decent sized program in turing and i thought that you guys could give me some suggestions on how to improve it. Thanks in advance.

-----------------------------------
Tony
Sat Jan 17, 2004 4:57 pm


-----------------------------------
nicely done, but you still need a better AI... I keep on winning it every time on the hardest difficulty level :roll:

-----------------------------------
shorthair
Sat Jan 17, 2004 5:00 pm


-----------------------------------
yeah i always win on hard , apart form a cats game now and then , especially when you get 2 corners :D  :D  well done , it looks great and runs fast

-----------------------------------
spokesman
Sat Jan 17, 2004 5:06 pm

AI
-----------------------------------
Thanx for the fast replies. I dont really know how to program a proper AI so i just used a big if statement to cover all the posibilities. Are there any good tutorials out there that describe how to make a good AI?

-----------------------------------
shorthair
Sat Jan 17, 2004 5:08 pm


-----------------------------------
the definiton of ai is not what you think , it means that the computer learns and gains knowledge depending on how you play , you can make an unbeatable tic tac toe were its either a cats game or a loss , but that isnt fun at all i figured my best computer was my random moves computer

-----------------------------------
Andy
Sat Jan 17, 2004 7:36 pm


-----------------------------------
man my othello had the best ai

-----------------------------------
sport
Sat Jan 17, 2004 8:06 pm

AI
-----------------------------------
You built an AI by making remebering all the moves that won the game for you. And then just repeating a certain move after a certain move by the user. You'll have to use a file to store the wining combinations. Good like on building the AI.

-----------------------------------
icemaster
Tue Jan 20, 2004 5:07 pm


-----------------------------------
omg i can't belive i only won once on hard, like every game was cats game lol

i think u should use the mouse the whole program instead of typin "y" then clickin the mouse, it would just make the game a little better
other than the click, type, click. .  the program is great! awsome speed, works quickly, i can see u don't really use delays. . .i personally hate programs that have huge delays, in fact i think i'll put that in my signature :D

good job here's some bits for u

-----------------------------------
the_short1
Tue Jan 20, 2004 5:25 pm


-----------------------------------
Ya nice prog., I like how you can presss 1 or y for new game... very fast and efficent.... ez to win if you do a double...but no one can stop that... only prevent it from going...Overall pretty good... id give you bits but i saving up for a title shadow and glow...my AI for Rock Paper Scissors is nice, random, but it seems to block your attemps, copy you, or it sucks...and you win.... either way nice.... search the_short1 to find it...
ill give you the code if you want...

-----------------------------------
enjoy
Mon Nov 08, 2004 10:48 pm

:roll: i can't find the code
-----------------------------------
hey

i am new here...
i like ur program... but i can't find the coding...
i wanna see how u have done it ... its well-done

i wanted to study it... could u plz post the coding???

thanx

-----------------------------------
Viper
Sun Nov 21, 2004 9:02 pm


-----------------------------------
well if u really wanted 2 learn ud look at it with out the coding n try 2 make it ur self i find i learn faster by doin that (but then again every ones diff.)

-----------------------------------
hdef
Mon Dec 20, 2004 2:32 pm


-----------------------------------
hmm u always win if u go top left corner, bottomr right corner, and then bottom left corner....
