Tic Tac Toe Help (magic squares theory)
Author |
Message |
SS2006
|
Posted: Mon May 16, 2005 4:05 pm Post subject: Tic Tac Toe Help (magic squares theory) |
|
|
i need help here
*this is the magic squares way, where you need a total of 15 to win across or vertically, I didnt rmeove the numbers from the magic squraes just yet, so youll see them in the caption still
im trying to get this tic tac toe to work, im 60% there, but now im clueless
probs:
in 2 player mode, i get the O's and X's tow ork, and the computer cna identify 3 X's in a row as a win or 3 O's in a row as a win, but anything more then that, itll lose count, because im using magic squres rule, so i just put if total =15, if any othe rocmbianation is used before I get 3 in a row it wont catch it obvously.
And in 1 playe rmode (which you can access by going to File, Game Options, 1 player) I relaly need help here
I cant get the computer to outup a "O" as soon as I press an X, i have to click again for it tput the O, i have it progrmamed so it immediatley puts a O in the middle, now I need to giv eit A.I. so its unbeatable,
i dotn want to change my design or approach cause ive been workig on it for a long time
thanks
if you can solve this for me, do provide a paypal link for me, I'd gladly donate
here are the files
Project: http://www.ripway.com/members/getfile.asp?file=\2005-4\285041\tic%2EVbp
Form1(2 players)
http://www.ripway.com/members/getfile.asp?file=\2005-4\285041\tic%2EFrm
Form2(1 player)
http://www.ripway.com/members/getfile.asp?file=\2005-4\285041\Form2%2Efrm
thanks
Description: |
FORM2 (1 player) WHERE I NEED HELP |
|
Download |
Filename: |
Form2.frm |
Filesize: |
12.74 KB |
Downloaded: |
247 Time(s) |
Description: |
|
Download |
Filename: |
tic.Frm |
Filesize: |
15.23 KB |
Downloaded: |
233 Time(s) |
Description: |
|
Download |
Filename: |
tic.Vbp |
Filesize: |
1010 Bytes |
Downloaded: |
229 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
SS2006
|
Posted: Mon May 16, 2005 4:09 pm Post subject: (No subject) |
|
|
i forgot to add that this is in VB4
but it should open in 6
thanks
|
|
|
|
|
|
SS2006
|
Posted: Mon May 16, 2005 6:03 pm Post subject: (No subject) |
|
|
UPDATE: got 2 players fully working
now just need to get the 1player working (with magic numbers)
|
|
|
|
|
|
Maverick
|
Posted: Tue May 17, 2005 4:52 pm Post subject: (No subject) |
|
|
FOr the X's and O's things,
Just use Single Click as X's and DblClick as O's
|
|
|
|
|
|
SS2006
|
Posted: Tue May 17, 2005 7:26 pm Post subject: (No subject) |
|
|
i need to get the 1 player working (vs. computer)
i have eveyrthign else working
remember im using magic squares theory
|
|
|
|
|
|
GlobeTrotter
|
Posted: Tue May 17, 2005 8:05 pm Post subject: (No subject) |
|
|
Maverick wrote: FOr the X's and O's things,
Just use Single Click as X's and DblClick as O's
That made no sense at all. First of all, in his version there are no X's and O's. Secondly, single and double click would be completely unnecessary for regular tic-tac-toe.
|
|
|
|
|
|
SS2006
|
Posted: Wed May 18, 2005 7:13 am Post subject: (No subject) |
|
|
so anyone
i jus tupdated the files
there new now
the 2 players is iworking thanks
|
|
|
|
|
|
SS2006
|
Posted: Sat May 21, 2005 10:40 pm Post subject: (No subject) |
|
|
someone
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
GlobeTrotter
|
Posted: Sun May 22, 2005 11:50 am Post subject: (No subject) |
|
|
It says I need to login to download, just attach it to your post through the forum.
|
|
|
|
|
|
SS2006
|
Posted: Sun May 22, 2005 10:33 pm Post subject: (No subject) |
|
|
done
thx globtrotter
|
|
|
|
|
|
Maverick
|
Posted: Tue May 24, 2005 8:24 am Post subject: (No subject) |
|
|
GlobeTrotter wrote: Maverick wrote: FOr the X's and O's things,
Just use Single Click as X's and DblClick as O's
Secondly, single and double click would be completely unnecessary for regular tic-tac-toe.
What are you talking about? Single and Double click is the easiest way to make a tic tac toe game.
|
|
|
|
|
|
SS2006
|
Posted: Tue May 31, 2005 11:50 am Post subject: (No subject) |
|
|
what snew?
|
|
|
|
|
|
|
|