diff --git a/src/pages/Breakout.tsx b/src/pages/Breakout.tsx index 2faa72a..fa18f82 100644 --- a/src/pages/Breakout.tsx +++ b/src/pages/Breakout.tsx @@ -267,16 +267,50 @@ const Breakout = () => { {!isMobile && ( -
SCORE
{score.toLocaleString()}
HIGH SCORE
{highScore.toLocaleString()}
max: 4,294,967,296
LEVEL
{level}
LIVES
{'♥'.repeat(lives)}
CONTROLS
← → / A D
P: Pause
Score
+{score.toLocaleString()}
+High Score
+{highScore.toLocaleString()}
+max: 4,294,967,296
+Level
+{level}
+Lives
+{'♥'.repeat(lives)}
+Controls
+← → / A D
+P: Pause
+- Select a game. High scores saved locally. +
+ Select a game to play. High scores saved locally.
- {game.ascii}
-
- - {game.description} -
+ +
+ {game.ascii}
+
+ + {game.description} +
+{'>'} Max score: 4,294,967,296 (uint32 overflow)
++ Arrow keys / WASD to control +
SCORES
-P1
{score.toLocaleString()}
P2
{score2.toLocaleString()}
Scores
+P1
+{score.toLocaleString()}
+P2
+{score2.toLocaleString()}
+SCORE
{score.toLocaleString()}
HIGH SCORE
{highScore.toLocaleString()}
max: 4,294,967,296
LEVEL
{level}
LIVES
-P1
{lives}
P2
{lives2}
Score
+{score.toLocaleString()}
LIVES
{lives}
CONTROLS
+ + {/* High Score */} +High Score
+{highScore.toLocaleString()}
+max: 4,294,967,296
+Level
+{level}
+P1: WASD / ←→↑↓
-P2: I J K L
-P: Pause
- > +Lives
+WASD / ←→↑↓
-P: Pause
- > +Lives
+{'♥'.repeat(lives)}
+Controls
+ {gameMode === '2p' ? ( +P1
+WASD
+P2
+IJKL
+WASD / ←→↑↓
+P: Pause
+P: Pause
} +SELECT MODE
- - +Select Mode
+ +SCORE
-{score.toLocaleString()}
+Score
+{score.toLocaleString()}
HIGH SCORE
-{highScore.toLocaleString()}
-max: 4,294,967,296
+ + {/* High Score Panel */} +High Score
+{highScore.toLocaleString()}
+max: 4,294,967,296
LENGTH
-{snake.length}
+ + {/* Stats */} +Length
+{snake.length}
CONTROLS
-← → ↑ ↓ / WASD
-P: Pause
+ + {/* Controls */} +Controls
+← → ↑ ↓ / WASD
+P: Pause
+