Assignment 4 Project
This Connect6 program has two modes:
- Player vs Player
- Player vs AI (negamax)
- AI vs Random Player
- AI vs AI
NOTE: Tested on Python 3.6, might not work as intended on the latest Python releases
# Install pygame
python3 -m pip install pygame
# Install pygame_menu
python3 -m pip install pygame_menu
# To run
python3 pvp_connect6.py# Play against an AI
python3 AI_connect6.py
# Play against a Random Player
python3 AI_connect6.py -rand
# AI vs AI
python3 AI_connect6.py -aicode to help create board game grid: https://stackoverflow.com/questions/33963361/how-to-make-a-grid-in-pygame
starter code for victory screens: https://pythonprogramming.net/displaying-text-pygame-screen/
code to get diagonals in a 2-D list: https://stackoverflow.com/questions/6313308/get-all-the-diagonals-in-a-matrix-list-of-lists-in-python
