Started retro tetris game

Started developing a retro version of Tetris, following
the planning on the board of the classroom
(see planning.jpg).

Moved cursor work into cursor.
This commit is contained in:
Chris Proctor
2025-12-18 17:45:39 -05:00
parent b7aa246380
commit c8d1ddd58f
10 changed files with 145 additions and 4 deletions

10
block.py Normal file
View File

@@ -0,0 +1,10 @@
class Block:
"""A Block represents a single square on the Tetris board.
Blocks are part of a Piece while they are 'alive'.
"""
character = "X"
color = "blue"
alive = True
def __init__(self, position):
self.position = position