public void StartGame() { bool gameInProgress = true; while (gameInProgress) { switch (gameController.GetCurrentStage()) { case Stage.setNames: { RenderGetPlayerNames(); break; } case Stage.setDimentions: { RenderGetDimentions(); break; } case Stage.setBoats: { RenderPlaceBoat(); break; } case Stage.fireMissile: { RenderMissileTurn(); break; } case Stage.gameOver: { RenderGameOver(); gameInProgress = false; break; } } } }