A simple canvas-based snake game