pyBegin / projects / connect-four
🎮

Connect Four

A two-player Connect Four game with a graphical board rendered using pygame; players drop colored pieces by clicking columns until one connects fou…

206 lines🖥 Desktop only

Connect Four

A two-player Connect Four game with a graphical board rendered using pygame; players drop colored pieces by clicking columns until one connects four in a row.

How to run

pip install pygame numpy
python main.py

Dependencies

Pyodide-runnable

No — it uses pygame for a graphical window and mouse input, which cannot run in a browser via Pyodide.