Code Eater

A developer-themed Snake game. Eat variables, functions, and arrays to grow your codebase. Avoid bugs, memory leaks, and infinite loops.

📅

✍️ Gianluca

Food — eat them!

  • xvariable+1 segment
  • fn()function+2 segments
  • []array+3 segments
  • coffeespeed boost 4s
  • 💡stackoverflowinvincible 3s
  • test passedscore x2

Hazards — avoid them!

  • 🐛buggame over
  • 💧memory leaklose segments
  • 🔄infinite loopslow down
  • ⚠️deprecatedinvert controls
  • 💥500 errorfreeze 1s
Your best score

What is Code Eater?

Code Eater (DevSnake) is a developer-themed reimagining of the classic Snake game. Instead of eating dots, you grow your codebase by consuming variables, functions, and arrays. But watch out: bugs, memory leaks, infinite loops, and deprecated warnings lurk around every corner, ready to crash your program.

Built with the HTML5 Canvas API and running entirely in the browser, Code Eater needs no install or signup. Just open it and start coding… or eating code.

What to eat, what to avoid

  • Eat: variables, functions, arrays, objects: each one grows your snake and boosts your score.
  • Avoid: bugs, memory leaks, infinite loops, deprecated warnings: any collision ends your session.
  • Speed scaling: The more code you consume, the faster your snake moves: keeping experienced players challenged.

How to play Code Eater

  1. Press Start to begin your coding session.
  2. Use arrow keys or WASD to navigate the snake.
  3. Eat code items to grow your snake and increase your score.
  4. Avoid crashing into walls, yourself, or the lurking bugs.
  5. Beat your high score and challenge other developers.

Whether you're taking a break from a refactor or just want to relive the nostalgia of classic Snake with a developer twist, Code Eater is the perfect in-browser game for programmers of all levels.