How I built it?

The project was built using Python, with the Pygame library handling the game mechanics and rendering the game board. I created a Connect4AI class to simulate a simple AI opponent. The AI is trained on random data, allowing it to make decisions based on the current state of the board. The game loop checks for player inputs and updates the game board accordingly. I also implemented win-checking logic to determine if a player has won the game.

Built With

Share this project:

Updates