X O X - How Check the movement of Computer 
Author Message
 X O X - How Check the movement of Computer

Dear Friends,

Can any one help me please ?

I have a control array from 0-8
and it's look like that:

---------------
| X |    |    |
|    |    |    |
---------------
|    | O |   |
|    |    |    |
---------------
|    |    |    |
|    |    |    |
---------------

let's say that the computer start and put the (O) circle
in the middle, after the user put (X).

Rules :
1) the first one that complete tree XXX Or OOO in row or in diagonal
   Wins

2) Computer will never Lose.

So, My internal conflict is how can icheck and keep that the computer
will play correct and will not lose ?

Thank You Very Much

Best Regards To All
==================


==================
Adi



Mon, 15 Dec 2003 13:29:39 GMT  
 X O X - How Check the movement of Computer

Quote:
> Dear Friends,

> Can any one help me please ?

> I have a control array from 0-8
> and it's look like that:

> ---------------
> | X |    |    |
> |    |    |    |
> ---------------
> |    | O |   |
> |    |    |    |
> ---------------
> |    |    |    |
> |    |    |    |
> ---------------

> let's say that the computer start and put the (O) circle
> in the middle, after the user put (X).

> Rules :
> 1) the first one that complete tree XXX Or OOO in row or in diagonal
>    Wins

> 2) Computer will never Lose.

> So, My internal conflict is how can icheck and keep that the
computer
> will play correct and will not lose ?

I thought that, if played correctly, there's no way for either side to
win?  I can remember a nefarious norad computer coming to grips with
this, but offer a challenge to support this.  You be the computer, and
attempt to beat me.


Tue, 16 Dec 2003 08:07:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Diff between Pocket PC OS / Handled PC OS/ Embedded NT OS

2. Reboot Windows OS, but not computer...

3. Determining LAN computer's OS

4. Capturing Mouse Movement Before Pointer Movement

5. Capturing Mouse Movement Before Pointer Movement

6. Capturing Mouse Movement Before Pointer Movement

7. Check for OS

8. Checking OS version

9. How to check the language of the OS

10. Check OS

11. Check whether the OS is 16 bit or 32 bit

12. Check for 32-bit vs. 16-bit OS

 

 
Powered by phpBB® Forum Software