Skip to content

Snake_Game_Python v1.5.0

Choose a tag to compare

@SpaceSquare640 SpaceSquare640 released this 11 Jun 22:24
· 3 commits to main since this release

Snake_Game_Python v1.5.0 — eight new AI-algorithm modes + a modularized browser edition.

Added — eight new All-AI modes (全 AI 選單,現有 10 種)

  • A* Pathfinder — A* heuristic search with an aggressiveness dial
  • Annealing Master — simulated annealing that escapes dead ends
  • Greedy (Easy) — greedy best-first; fast and reckless
  • Drift / Drunk — a DFS / random-walk wanderer
  • Minimax vs You — play against a Minimax AI that predicts and blocks you
  • Minimax Duel — a Minimax hunter chases a fleeing survivor
  • Co-op Fill — two AI snakes split the board and perfectly fill it together
  • Food Rush — two AI snakes race to eat 12 apples first

The All-AI menu is now a two-column grid; the Leaderboard fits all 16 modes.

Changed (internal)

  • Browser edition modular refactor — the single game.js is now ES modules under js/, mirroring the Python package. All eight new modes are ported to the web version too. No save-file changes.

Tri-lingual (English / 繁體中文 / 简体中文). See the CHANGELOG for full details.

Assets

  • Snake_Game_Python.exe — Windows desktop build (no Python needed)
  • HTML_Version.zip — the browser edition (also live on GitHub Pages)
  • build.py, snake.spec — packaging scripts