/Teeko_Game

Teeko is a game similar to Connect 4. In Teeko, you play against an AI bot that "thinks" by looking at future moves.

Primary LanguagePython

Teeko Game

Please look at the gameplay_images folder to see what the game looks like!

How to run:

  1. Install Python 3
  2. Install pygame - Go to your terminal and type: pip install pygame==2.0.0
  3. Install numpy - Go to your terminal and type: pip install numpy==1.19.3
  4. Open the "code" folder,
  5. Run teeko.py

Rules:

The game starts with either you or the AI playing the first move.
Both players have 4 pieces each (putting down one piece at a time).
Once your 4 pieces are down, you are allowed to move one piece to an adjacent, empty cell, in a given turn.

In the settings menu, you can toggle through the AI level (1 is easy, 2 is medium, 3 is hard)

Objective:

First player to get their 4 pieces in a horizontal, vertical, diagonal, or diamond configuration, wins! Winning examples are shown in the 'gameplay_images' folder.

Credits:

AI Bot made by - Prannav Arora in CS 540 class
GUI made by - Prannav Arora, Ryan Almizyed as a winter break side project