wavesinaroom / my_odin_project_battleship

0 stars 0 forks source link

Game turns #12

Closed wavesinaroom closed 1 year ago

wavesinaroom commented 1 year ago

The game loop should step through the game turn by turn using only methods from other objects. If at any point you are tempted to write a new function inside the game loop, step back and figure out which class or module that function should belong to.

wavesinaroom commented 1 year ago

I'm already working on a game manager object which will be in charge of turns, players set up and game loop. Nearly done, I'm about to start to write the game over method to guarantee the game comes back to the beginning on completion

wavesinaroom commented 1 year ago

Turn players tests checks that attacks take place when player/cpu match game manager turn variable