you are the environment. the snake plays itself, choosing by ranked probability. drop food to lure it, walls to box it in. trap it (no legal move) before it reaches length 20.
tap a cell: food (one at a time, replaces the last) or wall (costs 1 ink; ink refills every few steps).