DEV Community

ma5hti
ma5hti

Posted on

Connect Four Terminal Game

This is a terminal game that I have developed using basic python as a portfolio project in my Computer Science CodeCademy career path. I chose thsi game as it seemed challenging for me to come up with the proper data structures and the logics behind it.

Game Main Menu

I have taken 6 lists with 7 empty spaces representing the rows as the original game has a 6x7 board. These 6 list are then in another list called board. Any change in the board is done via different functions, but all changes can be seen in the "board" list. There is also a function to properly print the contents of the board using two nested loops.

You can find the different steps I've taken and the code comments on gitHub.

Top comments (0)