Add `startGame` function to reset the game state