Snake Battle
Player vs CPU arcade snake game with an online leaderboard.
Problem
Standard snake games lack competition. A smart pathfinding CPU agent increases challenge and replayability.
Built
A canvas-rendered engine with AI pathfinding logic and a serverless backend for verifying scores and listing top players.
Result
Live and complete, with a global leaderboard.
Stack
HTML5 Canvas · JavaScript · Cloudflare Workers · D1 Database