()
| 98 | } |
| 99 | |
| 100 | public void startGame() { |
| 101 | //TODO: Set any relevant variables before the game starts |
| 102 | this.gameOver = false; |
| 103 | |
| 104 | //TODO: Establish Engine loop |
| 105 | while (!gameOver) { |
| 106 | drawFrame("You should implement this game!"); |
| 107 | StdDraw.pause(1000); |
| 108 | } |
| 109 | |
| 110 | this.drawFrame("Game Over! You made it to round: " + this.round); |
| 111 | } |
| 112 | |
| 113 | } |