Tonio2 / Gomoku

The goal of this project is to make an AI capable of beating human players at Gomoku
1 stars 1 forks source link

Gomoku Terminal Game

A fast-paced, high-performance Gomoku game that runs directly in your terminal. This project combines Python for user interactions and C++ for the game engine, with pybind11 used to bridge the two languages.

Prerequisites

Before you start, make sure you have the following installed on your system:

Installation

Follow these steps to install and run the Gomoku game after cloning the repository:

1. Clone the Repository

git clone https://your-repository-url/gomoku.git
cd gomoku

2. Create a Python Virtual Environment (Optional)

python3 -m virtualenv venv
source venv/bin/activate

3. Install Python Dependencies

pip install -r requirements.txt

4. Initialize Submodules

git submodule update --init --recursive

5. Build the Engine and the Display

make

6. Run the Game

./Gomoku

LINTER

1. Copy pre-commit scrip

cp ./pre-commit.example .git/hooks/pre-commit
chmod u+x .git/hooks/pre-commit

2. Format code

./format_code.sh