All work
Game

AI Snake

Classic Snake, plus an agent that plays it and shows its path.

Role
Solo developer
Context
Personal project
Year
2024
Status
Shipped

Overview

Snake with two modes: you play, or you watch an agent play. The agent does pathfinding to the food while avoiding the trap of sealing itself into its own tail.

Greedy shortest-path solves the first thirty seconds and then loses every time. Adding a survivability check — can it still reach its tail after eating? — is what turned a demo into something that finishes a board.

What it does

  • Playable and autonomous modes
  • Live overlay of the path being considered
  • Tail-reachability check to avoid self-trapping
  • Adjustable speed and board size

Want something like this built?

Open to roles, internships and freelance work.