Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ablade

Pages: [1]
1
Blitz / Re: Tic Tac Toe (Help)
« on: June 25, 2007 »
Thanks mike_g and Tetra. I am confused with what mike_g wrote. I also didn't know you can use LoadAnimImage in that way. Thanks for your replys. I will look at the TicTacToe.zip soon.

2
Blitz / Tic Tac Toe (Help)[BB2D]
« on: June 22, 2007 »
Topic: (Tic Tac Toe Help)

Hi,

I need help with creating a computer opponent that will make a winning move when there is a chance to win. I already have a method to do this, but the computer takes all the empty slots.
I just want someone to tell me how to limit the computer move to 1, then check if the move is a win; if its not, check the next empty slot.


Note: The computer moves with the left mouse click. You have to click on an unoccupied slot to allow the computer to make the move.

You can download the source + necessary files in the following link.

Code: [Select]
http://askavenger.250free.com/downloads/GameProgramming/tictac.rar

Pages: [1]