Nine small games. Each is one HTML file with no libraries and no build step — open the page and it plays. All of them work with a keyboard on desktop and with touch on a phone.
/games/snake/
The classic. Speeds up with every bite, and refuses the instant reversal that would kill you unfairly.
/games/2048/
Slide and merge to reach 2048, then keep going for a bigger tile. One level of undo when a move goes wrong.
/games/minesweeper/
Three sizes. The first click is always safe, so no game is ever lost on the opening move.
/games/breakout/
The paddle follows your mouse or finger, and where the ball lands on it decides the angle it leaves at.
/games/memory/
Match every pair in as few moves as you can. Three sizes, and your best run is kept for each of them.
/games/connect4/
Against a computer that searches ahead with minimax and alpha-beta pruning — or against a friend on the same screen.
/games/tetris/
Seven-bag randomiser so droughts never get absurd, a ghost showing where the piece lands, and hard drop.
/games/sudoku/
Puzzles generated here and checked to have exactly one solution. Four difficulties, pencil marks and a hint.
/games/simon/
Repeat the sequence as it grows. Each pad has its own tone, generated live rather than loaded from a file.