SNAKEVELTO POLICY
Snake

Loading...

What are these modes?

Velto is the small learned model: it picks each move from a few numbers about the game. Coach is the hand-written program Velto was trained to copy (a rule that never steps into danger, keeps room for the whole body, then heads for the food). It is the answer key, so you can compare the student with the coach. Random moves blindly: any real AI should beat it. You is you on the keyboard or mouse.

Each step the policy picks left, straight or right from 10 inputs: danger and open room in each direction, whether the move gets closer to the food, and snake length. Play yourself with the arrow keys in "You" mode.