devwithjev
— reading now— views
Submit a build

Jev-Powered Snake Strategy

Igal Pines compares two Snake games controlled by Jev: one plays 6-18 turns and eats at most one fruit, while the other plays 1867 turns and eats 67 fruits.

Igal Pines@IgalPines𝕏
18 turns + 1 fruit VS 1867 turns + 67 fruits. What's the difference? Both Snakes controlled by @typesafeai Jev. The one on the left provides Jev with a strategy to play snake and then asks what to do: left, right, forward. It plays 6-18 turns and eats at most one fruit. The one on the right, breaks down this strategy into 5 questions and plays for 1867 turns and eats 67 fruits. The questions per available action are: 1. Is this going to lead to a crash? 2. Does this bring us closer to food? 3. Does this move bring us closer to a dead end? 4. Can the head still get to its own tail? 5. Is the ro
Sep 22, 2026X postsView on X
In the longer-running version, the strategy is broken into five questions for each available action. The listed checks consider crash risk, proximity to food or a dead end, and whether the head can still reach its tail.

Also filed under Games & real time