|
-
Jun 2nd, 2007, 07:14 PM
#1
Thread Starter
New Member
Tic Tac Toe
hi
can any1 send coding for a tic tac toe game wit command buttons has the board.
plss help thxx
-
Jun 2nd, 2007, 07:18 PM
#2
PowerPoster
Re: Tic Tac Toe
Nope, try the *game* forum section of this site...and try *google*
We don't write code for you, we help you with your coding skills
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
-
Jun 2nd, 2007, 07:31 PM
#3
Thread Starter
New Member
-
Jun 3rd, 2007, 07:15 AM
#4
Banned
Re: Tic Tac Toe
hai
first you need to progr/-\m auto moves:
1. Can comp win, move FTW.
2. Does comp have to block, comp needz to avoid teh suxorz.
COMP MOVES FIRST:
Now comes the strategy, the best strategy is to take a corner first.
If the comp is going first then its first move should be teh corner.
If the middle is taken by the other player then teh comp takez the opposite corner (o is the comp x is the player) as this increases the chances for the comp to win over selecting an adjacent corner, as this does not force your opponet to block you, and means they may make the wrong next move and slip up giving comp teh w!n.
o.. ..o
.x. .x.
..o o..
If the adjacent corner is taken by their opponent:
o.x
...
...
Then comp goes:
o.x
o..
...
Then comp takez the middle as third move and you have it.
If the opposite corner is taken by the opponent as their first move, comp takes an adjacent corner, then the other which results in teh w!n
If opponent takes a non corner then comp takes middle then a remaining corner FTW.
the only winning move is 2 only play a nub. kthxxbye.
Last edited by learning c; Jun 3rd, 2007 at 07:22 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|