|
-
Apr 29th, 2005, 11:59 AM
#1
Thread Starter
New Member
!!!Please help me with my tic-tac-toe game!!!
Im new to the forums
Iv made a visual basic Tic-Tac-Toe game, initially i wanted just for it to be a 2 player human game.. But iv decided i want to be able to play against a AI computer player, it does not have to be smart but it has to have some form of intelligence..
Here is the zip file with all the neccasary vb project/form files..
http://www.caldicot-pc-helpdesk.co.uk/Tic.zip
Basically what i need help with, is i want some way of selecting a 1 player game, i then want to be able to code is so that when the player chooses a square, it will run through the array and find all the enabled cmdbuttons, randomise and select a random cmdbutton and place a 0 or a X depending on what the computer player is..
Any help would be great..
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
|