Playground · Games
Games
A few classics rebuilt in plain JavaScript. Use the arrow keys (or the on-screen buttons on mobile). Pick a game:
How it's built
Pure vanilla JavaScript — no game engine, no libraries.
Snake
Score: 0
2048
Score: 0
Use the arrow keys (or swipe on mobile) to slide all tiles one direction. When two tiles with the same number touch, they merge into one. Keep merging to reach the 2048 tile.
Memory
Moves: 0
Click a card to flip it, then flip a second. If the two emojis match, they stay face-up; if not, they flip back. Find all 8 pairs in as few moves as you can.
Sudoku
Brick Breaker
Score: 0 · Lives: 3
Move with your mouse, touch, or ← → keys
Minesweeper
Mines: 0
Click to reveal · right-click (or Flag mode) to flag
Chomp
Score: 0 · Lives: 3
Eat all the dots, grab a power pellet to chase the ghosts. Arrow keys or the buttons.
Block Stacker
Score: 0 · Lines: 0
← → move · ↓ soft drop · ↑ / ⟳ rotate · space hard drop
Connect Four
Your turn
You're cyan. Click a column to drop. Get four in a row to win.
Simon
Round: 0 · Best: 0
Watch the sequence, then repeat it. It grows each round.
Word
Guess the 5-letter word
Type a 5-letter word and press Enter to guess (Backspace deletes). Green = right letter, right spot · amber = right letter, wrong spot · grey = not in the word. 6 tries.