mcoombs32 / edu.ycp.cs481.YCPGames

YCP Games app for android devices.
0 stars 2 forks source link

Tic-tac-Toe: Model Classes #4

Closed mcoombs32 closed 11 years ago

mcoombs32 commented 11 years ago

Implement model classes for tic-tac-toe, such as: player, board, game state, moves, etc

brianmichaelmartin commented 11 years ago

I created a branch for this, starting to work on it

brianmichaelmartin commented 11 years ago

I created the classes we will need although I have not fully implemented them yet. Board is pretty much finished, at least for tictactoe. Can place pieces, check what piece is where and check for game wins. Probably still need a reset method though

brianmichaelmartin commented 11 years ago

Basically done, just need to finish the hard AI and fix any bugs we find during unit testing

brianmichaelmartin commented 11 years ago

Im pretty sure this is done. I am going to close this issue. If we find issues later when its hooked up to the front end or during unit testing Ill reopen this

brianmichaelmartin commented 11 years ago

While unit testing Anthony found a glitch in the isGameOver method that will return a draw if the game fills the whole board. Should be a 5 minute fix. I'll do this when mike pushes his changes

brianmichaelmartin commented 11 years ago

fixed buig