Commit Graph
2 Commits
Author SHA1 Message Date
Alex Cube 6006ad0690 Add PHP server version: leaderboard, identity, menu screens, lore
- php/: MySQL-backed (via config.php, gitignored) top-5 solutions per
  level, cookie identity with rename, server-side progress for "Продолжить"
- Menu screens: Играть / Продолжить / Предыстория / Настройки, plus
  placeholder start/end screens for a future intro/outro
- Lore screen: EXO:GRID backstory text (6 epochs, no gameplay changes yet)
- levels.js/solver.js copied in as-is
2026-08-10 15:18:53 +03:00
Alex Cube 50623173bb Initial commit: Sokoban 60-level game with A* solver
- sokoban.html: canvas game, entrance/exit door mechanic (level completes
  by walking to the exit after all boxes are placed, not an alert popup),
  solution search UI (modal with timer, cancel, "Решение найдено!" button)
- solver.js: A* with binary heap, true-distance heuristic, static
  deadlock cells, freeze-deadlock detection, tunnel macro-moves,
  chunked step() API for non-blocking search in the UI
- localStorage-backed solution leaderboard per level (fewest moves wins),
  fed by both solver finds and manual player completions; G replays the
  best recorded solution
- BACKLOG.md: known follow-ups (dead files, room/corral pruning, undo, etc.)
2026-08-10 14:19:16 +03:00