summaryrefslogtreecommitdiff
path: root/cameltris.py
diff options
context:
space:
mode:
Diffstat (limited to 'cameltris.py')
-rwxr-xr-xcameltris.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/cameltris.py b/cameltris.py
index f130408..dc83ea8 100755
--- a/cameltris.py
+++ b/cameltris.py
@@ -75,7 +75,7 @@ class SquarePiece(Piece):
def __init__(self):
super().__init__()
- self.square.fill(white)
+ self.square.fill(brown)
self.elements = ((self.square, self.square), (self.square, self.square))
@@ -106,7 +106,7 @@ class LPiece(Piece):
def __init__(self):
super().__init__()
- self.square.fill(blue)
+ self.square.fill(cyan)
self.elements = (None, None, None), (self.square, self.square, self.square), (None, None, self.square)
@@ -274,10 +274,12 @@ pygame.init()
black = (0, 0, 0)
white = (0xff, 0xff, 0xff)
-blue = (0x10, 0x20, 0xbb)
-green = (0x20, 0xbb, 0x10)
-red = (0xbb, 0x10, 0x20)
-yellow = (0xab, 0xd0, 0x20)
+brown = (163, 75, 31)
+blue = (30, 34, 164)
+green = (30, 164, 59)
+red = (164, 30, 30)
+yellow = (164, 164, 30)
+cyan = (30, 164, 150)
square_template = pygame.Surface((48, 48))