Jump to content

Need Help - asm x86 TICTACTOE ALGORITHMS

- - - - -

  • Please log in to reply
1 reply to this topic

#1
dev_JC

dev_JC

    Newbie

  • Members
  • Pip
  • 3 posts
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!:)

#2
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,252 posts
  • Location:C:\Countries\US
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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users