projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
started implementing rotation
[naja.git]
/
naja
/
constants.py
diff --git
a/naja/constants.py
b/naja/constants.py
index 440a2d5441a48ab8ed5d07c103afca03d1c234c9..424f65a0ec661563db51a6b8dd33f625b3d6ffb0 100644
(file)
--- a/
naja/constants.py
+++ b/
naja/constants.py
@@
-51,6
+51,11
@@
MOVES = AttrDict({
})
CHESS_PIECES = AttrDict((k, v) for k, v in MOVES.items() if v > 0)
+ROTATION = AttrDict({
+ 'CLOCKWISE': 0,
+ 'ANTICLOCKWISE': 1,
+})
+
# Player defaults
PLAYER_DEFAULTS = AttrDict({
'INITIAL_BITS': 0x0f,