app 3 of 4

🔢2048

The sliding-tile puzzle — merge equal tiles to reach 2048, with your best score kept between runs.

Recordings

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).

kitty graphics — 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 in kitty graphics mode
2048 — kitty pixel backdrop
ASCII cells — 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.

2048 in ASCII cell mode
2048 — ASCII cell mode

Controls

KeyAction
↑ ↓ ← → / WASD / HJKLslide the board
uundo one move
n / rnew game
q / Escquit

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.