Anki add-on: Snake Game in Anki

Enhance your Anki review sessions with a fun Snake game overlay! Keep your learning engaging by integrating a classic Snake game that you can play while reviewing your cards. Features Green Pellet ("show_answer") : Eat this pellet to reveal the answer during review. Light Blue Pellets ("fun") : Always present for added fun. When you eat a fun pellet, it teleports to a new random location. Red Bombs : If you collide with a bomb, it triggers an explosion animation: Immediate : Bomb turns white. After 250ms : Bomb turns yellow. After 500ms total : The snake resets, and the bomb is relocated back to a new red position. Controls Arrow Keys : Move the snake. P : Pause/Resume the game. H : Hide/Show the game overlay. How It Works Mode Question : Green Pellet : Consume to reveal the answer to your current Anki card. Light Blue Pellets : Capture these for pure fun; they will teleport to new locations upon being eaten. Red Bombs : Avoid these! Colliding with a bomb initiates an explosion sequence that resets the snake. Mode Answer : The green pellet is removed if it hasn't been consumed. Light blue pellets and red bombs remain active for continued enjoyment.