Changes for version 0.12 - 2026-10-11
- Rewritten as an engine: Game::Snake plays the game and draws nothing.
- Game::Snake::Terminal and bin/snake: the game in a terminal.
- Game::Snake::Bot: two levels, greedy and flood-fill; snake --watch.
- Game::Snake::Raylib: the window of 0.11, now optional (perl 5.38+).
- Raylib::FFI and Term::ReadKey are recommended, not required.
Documentation
the classic snake game, in a terminal or a window
Modules
the classic snake game, as an engine
a snake steered once a tick, at one of three levels
a refused turn, returned rather than thrown
snake in a window, when raylib is there
how a game of snake ended
snake in a terminal
when the next tick is due