The sliding-tile puzzle — merge equal tiles to reach 2048, with your best score kept between runs.
Both captures below are real iTerm2 sessions running the app — the UI is always crisp termpaint cells, and on terminals that speak the kitty graphics protocol the panels float over an animated pixel backdrop (cells everywhere else).
2048-gfx
The classic colour tiles float on a warm animated plasma that glows through the gaps between tiles and around the board; the tiles themselves are crisp cells punched out of the wallpaper.
2048
Colour-graded tiles (filled cell blocks with centred numbers) on a quiet gradient, with centred overlays for a win or game-over. Arrow keys, WASD, or vim HJKL all slide the board.
| Key | Action |
|---|---|
| ↑ ↓ ← → / WASD / HJKL | slide the board |
| u | undo one move |
| n / r | new game |
| q / Esc | quit |
Tuning env vars use the G2048_* prefix (it starts with a letter because env names can’t begin with a digit). G2048_FILE stores the best score (default ~/.termfun-2048). See the overview for the full tuning table.