Closed wavesinaroom closed 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
Turn players tests checks that attacks take place when player/cpu match game manager turn variable
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.