Skip to content

Instantly share code, notes, and snippets.

@zmcedillo
zmcedillo / tetris.py
Last active December 30, 2024 07:29 — 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),