diff options
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ import os +directions = { + 'U': (0, -1), + 'D': (0, 1), + 'L': (-1, 0), + 'R': (1, 0), +} + class Squares(object): EMPTY = '.' APPLE = '*' |