Connect 4 clone written in Python, written in 2011 during my first year at university for a free programming project.
Code quality is pretty bad due to how long ago I wrote it, it could be cleaned up a lot.
- Python 2.7 or Python 3.*
python setup.py install
To run without installing navigate to the src
folder and enter python2 connect4.py
on the command line.
To run after installing run the python interpreter then enter:
import connect4.connect4
- Use the mouse, and click inside a circle for the column you want to insert a piece into.
- First player to have 4 pieces in a row (diagonally, vertically, or horizontally wins the game)