Hello There !
I'am coding a TicTacToe game in assembly,. Its a USER vs THe COMPUTER.
I'm super Confused on HOW will I CHECK IF WHOS IS THE WINNER, i think its like storing some variables,or i dont know really what to do,..
can anyone help me,? if you have a good source pls share it.
Thank you in advance!:)
1 reply to this topic
#1
Posted 30 September 2011 - 05:22 AM
|
|
|
#2
Posted 30 September 2011 - 09:05 AM
You could use a 2-dimensional array for keeping track of the tic-tac-toe board; then check, every turn, whether anyone has 3 in a row.
We can't do the work for you, however, so you'll have to work out the details of how to do it on your own; we can help if you get stuck, though.
We can't do the work for you, however, so you'll have to work out the details of how to do it on your own; we can help if you get stuck, though.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









