RichardMarks / coin-collector-mobile

MIT License
0 stars 1 forks source link

implement the game loop #11

Closed RichardMarks closed 6 years ago

RichardMarks commented 6 years ago

This will execute as a single "game session" from within the main loop.

The game session should continue running until the user runs out of lives.

game state manipulation and render procedures are not in the scope of this issue.

They are separate and will need to be imported once they are implemented.

BEGIN GAME LOOP
  GET CURRENT GAME STATE
  RENDER HEADER
  RENDER BOARD
  RENDER COMMAND PANEL
  PROCESS COMMAND PANEL RETURN VALUE
  UPDATE GAME STATE
  IF GAME STATE LIVES <= 0: BREAK
END GAME LOOP