summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-12-22 22:39:27 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-12-22 22:39:27 +0100
commit478fe4ea0a58eb89c91eb485ad351640c20ff8af (patch)
tree1c2d58b7234ba5b7b02d5f92b183fd15f66c002d
parentceee983259dea1f5d478cabd78223450d06d209b (diff)
Use a different color for the J
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-xcameltris.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cameltris.py b/cameltris.py
index 0b0aa7e..9876aa3 100755
--- a/cameltris.py
+++ b/cameltris.py
@@ -114,7 +114,7 @@ class JPiece(Piece):
def __init__(self):
super().__init__()
- self.square.fill(red)
+ self.square.fill(purple)
self.elements = (None, None, None), (self.square, self.square, self.square), (self.square, None, None)
@@ -314,6 +314,7 @@ brown = (163, 75, 31)
blue = (30, 34, 164)
green = (30, 164, 59)
red = (164, 30, 30)
+purple = (126, 30, 164)
yellow = (164, 164, 30)
cyan = (30, 164, 150)