SnakeAI

An AI agent for the SnakeClassic.

Define following variables in compile.sh

Example:   search_depth=3

-3 -3 -3 -3 -3 -3 -3
-3 -2 -2 -2 -2 -2 -3
-3 -2 -1 -1 -1 -2 -3
-3 -2 -1 0 -1 -2 -3
-3 -2 -1 -1 -1 -2 -3
-3 -2 -2 -2 -2 -2 -3
-3 -3 -3 -3 -3 -3 -3

Methods

  1. Greedy Locally Optimum - Score 249 greedy locally optimum

  2. Probabilistic Heuristic - Score 1001
    prob