Skip to content

Commit

Permalink
* upd
Browse files Browse the repository at this point in the history
  • Loading branch information
arfeo committed Jan 5, 2021
1 parent 3223aa9 commit 95f841c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/components/GameOver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class GameOver extends Modal {
gameOverSubmitRestart.addEventListener('click', () => {
this.game.destroy();

new Game();

this.close();

new Game();
});

gameOverSubmitStop.addEventListener('click', () => {
Expand Down
16 changes: 8 additions & 8 deletions src/constants/levels.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* Legend:
*
* 1 - ball
* 2 - exit
* 3 - wall
* 4 - stone (regular)
* 5 - stone (up arrow)
* 6 - stone (right arrow)
* 7 - stone (down arrow)
* 8 - stone (left arrow)
* 1 - Ball
* 2 - Exit
* 3 - Wall
* 4 - Stone (regular)
* 5 - Stone (up arrow)
* 6 - Stone (right arrow)
* 7 - Stone (down arrow)
* 8 - Stone (left arrow)
*/

import { Level } from '../types/game';
Expand Down

0 comments on commit 95f841c

Please sign in to comment.