Interactive Playground

Small games,
clean code.

Lightweight browser games built with pure HTML, CSS, and JavaScript. Each game lives in its own folder and runs instantly — no installs, no frameworks.

Library

All Games

Click any card to play. More games added over time.

🔢

2048

Slide numbered tiles across a 4×4 grid and merge matching values to reach 2048. Simple to learn, endlessly satisfying to master.

Live JavaScript Puzzle
sports_esportsPlay 2048
👾

Alien Invaders

Defend the screen from descending alien waves. Move, shoot, dodge enemy fire, and survive as the pace keeps rising.

Live JavaScript Shooter
sports_esportsPlay Alien Invaders
🚀

Asteroids

Pilot your ship through a tumbling asteroid field — rotate, thrust, and shoot your way to the highest score before your three lives run out.

Live JavaScript Shooter
sports_esportsPlay Asteroids
🚢

Battleship

Place your fleet, scan the enemy grid, and sink every ship. Built for clean turn-based play against a simple computer opponent.

Live JavaScript Strategy
sports_esportsPlay Battleship
🧱

Breakout

Control a paddle to bounce a ball and smash through rows of colourful bricks. Clear the board without letting the ball fall.

Live JavaScript Arcade
sports_esportsPlay Breakout
🫧

Bubble Shooter

Aim and fire coloured bubbles to pop matching clusters of three or more. Clear the board before the bubbles reach the danger line.

Live JavaScript Puzzle
sports_esportsPlay Bubble Shooter
🔴

Checkers

Jump, capture, and crown your pieces. A focused local checkers implementation with move hints and king animations.

Live JavaScript Board
sports_esportsPlay Checkers
🔴

Connect Four

Drop coloured discs to connect four in a row — horizontally, vertically, or diagonally. Outsmart your opponent before they do.

Live JavaScript Strategy
sports_esportsPlay Connect Four
🦕

Dino Run

A little dinosaur, an endless desert, and an ever-growing stream of cacti and pterodactyls. Jump, duck, and survive as long as you can.

Live JavaScript Runner
sports_esportsPlay Dino Run
🐦

Flappy Bird

Tap or press Space to keep your bird airborne and thread it through an endless gauntlet of pipes. One wrong move and it's over.

Live JavaScript Arcade
sports_esportsPlay Flappy Bird
🪢

Hangman

Guess the hidden word one letter at a time. Six wrong guesses and it's over — can you figure it out before the hangman is complete?

Live JavaScript Word
sports_esportsPlay Hangman
💡

Lights Out

Toggle glowing tiles until the whole grid goes dark. A compact logic puzzle with levels, move counts, and clean neon feedback.

Live JavaScript Logic
sports_esportsPlay Lights Out
🟡

Maze Chase

Navigate a neon maze, collect every orb, and avoid roaming enemies. Grab power cores to turn the chase around.

Live JavaScript Maze
sports_esportsPlay Maze Chase
🃏

Memory Cards

Flip cards and match all 8 pairs. The board reshuffles every round — beat your best move count.

Live JavaScript Memory
sports_esportsPlay Memory Cards
💣

Minesweeper

Uncover every safe cell on the grid without detonating a mine. Use number clues to deduce where the mines are hiding — logic over luck.

Live JavaScript Strategy
sports_esportsPlay Minesweeper
🏓

Pong

The original arcade classic — deflect the ball past the AI's paddle to score. Speed climbs with every rally. First to 7 wins.

Live JavaScript Arcade
sports_esportsPlay Pong

Reversi

Place discs, flip lines, and control the board. A polished local strategy game with valid-move highlights and score tracking.

Live JavaScript Strategy
sports_esportsPlay Reversi
🐸

Road Hopper

Hop across lanes, rivers, and moving hazards. Reach safe zones without getting hit or falling off the path.

Live JavaScript Arcade
sports_esportsPlay Road Hopper
🎯

Simon

Watch the colour sequence flash, then repeat it back in order. Each round adds one more step — how far can your memory take you?

Live JavaScript Memory
sports_esportsPlay Simon
🧩

Sliding Puzzle

Slide numbered tiles into order with the fewest moves. Includes shuffle logic, timer, and satisfying tile animations.

Live JavaScript Puzzle
sports_esportsPlay Sliding Puzzle
🐍

Snake

Classic snake on a full-viewport canvas. Eat food, grow longer, don't hit yourself. Arrow keys or WASD to move — Space to pause.

Live JavaScript Canvas
sports_esportsPlay Snake
♠️

Solitaire

A clean Klondike solitaire board with drag-and-drop cards, timer, moves, and foundation progress tracking.

Live JavaScript Cards
sports_esportsPlay Solitaire
🧩

Sudoku

Fill the 9×9 grid so every row, column, and 3×3 box contains the digits 1–9. Three difficulty levels — how fast can you solve it?

Live JavaScript Logic
sports_esportsPlay Sudoku
🟦

Tetris

Stack falling tetrominoes and clear complete lines before the stack reaches the top. Speed ramps up every 10 lines — how long can you last?

Live JavaScript Puzzle
sports_esportsPlay Tetris
✕ ○

Tic Tac Toe

Two-player classic with score tracking, winner highlighting, and round history. X always goes first.

Live JavaScript 2 Player
sports_esportsPlay Tic Tac Toe
🏰

Tower Defense

Build towers beside a winding path and stop enemy waves. Upgrade defenses, manage coins, and protect your base.

Live JavaScript Strategy
sports_esportsPlay Tower Defense
🔨

Whack-a-Mole

Moles pop up at random — tap them before they duck back down. How many can you whack in 30 seconds?

Live JavaScript Arcade
sports_esportsPlay Whack-a-Mole
🟩

Wordle

Guess the secret 5-letter word in six tries. Each guess reveals which letters are correct, misplaced, or absent — deduce the answer before you run out.

Live JavaScript Word
sports_esportsPlay Wordle