1. Peter Ward
  2. SnakeGame

Source

SnakeGame / docs / random_simple.py

1
2
3
4
from random import choice

def random_bot(board, position):
    return choice('UDLR')