CONNECT FOUR
GAME DEVELOPMENT
INTRODUCTION
Type: Computer Science course project
Duration: two weeks
This is a CS course project.
It recreates the classic two-player Connect Four game in Python,
featuring a fully interactive graphical interface.
CORE TECHNOLOGIES
Programming Language: Python
Graphics Library: turtle
KEY FEATURES

Complete Gameplay Flow
Includes a welcome screen, interactive board, move placement, win detection, and an end screen.

The game board uses the standard 8×8 layout, with yellow and blue tokens used to distinguish Player 1 and Player 2.
The interface also provides a preview of the selected drop column, shown in light yellow for Player 1 and light blue for Player 2.
Visual Interface
P1
P2

Mouse-Tracking Interaction
As the player moves the mouse, the game interface dynamically highlights the tracker bar at the bottom of the currently selected column, enhancing real-time interaction and overall user experience.

The game also supports automatic tie detection when there is no winner!
Smart Win Detection
The game automatically checks for four consecutive tokens of the same color in horizontal, vertical, and diagonal directions.
Once a player forms a connected line of four, the interface highlights the winning sequence and displays the winner at the bottom of the screen.

FUTURE IMPROVEMENT

How Could the Game Be More Fun?
My idea is to add special themed settings to the game.
For example, a space theme where each token is designed as a planet!
The background could also include astronomy facts, allowing players to pick up scientific knowledge while enjoying the game!


