From c35db75eba1f67c6d6bbca9fefe7aaefb6b6d6e9 Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Sun, 29 Jul 2012 23:43:29 +1000 Subject: Add start of tutorial. --- docs/random_simple.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docs/random_simple.py (limited to 'docs/random_simple.py') diff --git a/docs/random_simple.py b/docs/random_simple.py new file mode 100644 index 0000000..f7ca03c --- /dev/null +++ b/docs/random_simple.py @@ -0,0 +1,4 @@ +from random import choice + +def random_bot(board, position): + return choice('UDLR') -- cgit v1.2.3