Skip to content

feat(games): 2048 (with cheats) + Flying Bird - #269

Merged
slaveofcode merged 1 commit into
developfrom
feat/games-2048-flappy
Aug 17, 2026
Merged

feat(games): 2048 (with cheats) + Flying Bird#269
slaveofcode merged 1 commit into
developfrom
feat/games-2048-flappy

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Two new tools in the Games category.

2048 (/tools/2048)

  • Full 2048 tile puzzle: arrow keys or swipe, merge to 2048, keep-going/game-over overlays.
  • Cheats: Undo (30-step history) and Auto-play that simulates the best move each turn via a one-ply heuristic (empties + merges + corner max).
  • Pure game2048.lib.ts (slideLine, move in 4 dirs, hasMoves, bestMove) unit-tested (14 tests).

Flying Bird (/tools/flappy-bird)

  • Flappy-bird style canvas game: gravity + flap on tap/click/Space, scrolling pipes, score and session best, restart.
  • Pure flappy.lib.ts (stepBird physics, outOfBounds, hitsPipe collision) unit-tested (7 tests).

Verify: 1353 tests green, lint 0 errors, build OK; both games' EN+ID pages built and listed on the Games hub.

2048: full tile game with keyboard + swipe, Undo, and an Auto-play
'cheat' that simulates the best move each turn (one-ply heuristic).
Pure game2048.lib.ts (slide/merge/move/bestMove) unit-tested (14 tests).

Flying Bird: a flappy-bird style canvas arcade game — tap/click/Space to
flap through pipe gaps, score + best. Pure flappy.lib.ts (physics +
collision) unit-tested (7 tests). Both in the Games category. EN + ID SEO.
@slaveofcode
slaveofcode merged commit 651b39e into develop Aug 17, 2026
1 check passed
@slaveofcode
slaveofcode deleted the feat/games-2048-flappy branch August 17, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant