index
:
snakegame
master
A small game where participants write bots to control snakes (used on Reboot Computing and Technology Camp). Original author: Peter Ward.
Carlo
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
docs
/
random_simple.py
blob: f7ca03c599d72deb6d12b46de20be9f10ef078a8 (
about
) (
plain
)
1
2
3
4
from random import choice def random_bot(board, position): return choice('UDLR')