Files
project_game/block.py
Chris Proctor c8d1ddd58f 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.
2025-12-18 17:45:39 -05:00

11 lines
264 B
Python

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