Files
project_game/tetris/block.py
2026-01-07 09:46:26 -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