Metadata-Version: 2.1
Name: cligames
Version: 0.1.0
Author: Thomas Brier
Description-Content-Type: text/markdown
License-File: LICENSE

# Connect4 and Tic-tac-toe in the terminal
Text-based versions of Connect4 and Tic-tac-toe.

The program also contains a computer player, implemented using the minimax algorithm (with alpha–beta pruning).

Each board game can be played as human against human, human against computer or computer against computer.

The program is started by running `python main.py`.

## How to play
#### Tic-tac-toe
To make a move in Tic-tac-toe, input `(x, y)` when prompted, where `x` and `y` are the x and y coordinates of a square on the board.
#### Connect4
To make a move in Connect4, enter `x` when prompted, where `x` is the index of the column you wish to make a move in.
