Skip to content

Instantly share code, notes, and snippets.

@zmcedillo
zmcedillo / tetris.py
Last active October 21, 2025 13:48 — forked from timurbakibayev/tetris.py
Tetris game in Python
import pygame
import random
import time
colors = [
(0, 0, 0),
(120, 37, 179),
(100, 179, 179),
(80, 34, 22),
(80, 134, 22),