MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp23 / startGame

Method startGame

lab13/src/MemoryGame/MemoryGame.java:100–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers 1

mainMethod · 0.95

Calls 1

drawFrameMethod · 0.95

Tested by

no test coverage detected