Project
Snake
Forest-themed arcade snake: decaying fruits, endless levels that speed up, and a versus mode against AI.
Objective
Real-time arcade snake with a forest aesthetic, part of the Arcade monorepo. Eat fruits before they lose value, clear levels that keep speeding up with no ceiling, and choose between solo mode or a versus match against AI. The game engine runs on pure HTML5 Canvas with deterministic logic and no DOM dependencies.
Mechanics
- Fruit decay Each fruit loses points over time — eating it fast is worth more.
- Golden fruit Eating three regular fruits in a row triggers a golden fruit with bonus value.
- Endless levels Speed and difficulty increase with every level cleared, with no upper limit.
- Boost Pressing A accelerates the snake at the cost of higher collision risk.
- Touch controls Tapping the left or right half of the board on mobile turns the snake relatively.
Game modes
- Simple Solo mode: eat the required fruits to advance levels, avoiding walls, obstacles, and yourself.
- Versus Pit your snake against an AI on the same board under the same rules.
Stack
Astro 5React 19TypeScriptVitest 3i18nextHTML5 CanvasAWS CDK v2S3CloudFrontRoute 53