Skip to content

BastienBoymond/Gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gomoku

alt text

Table of Contents
  1. About The Project
  2. Getting Started Other Information

About The Project

The goal of this project is to implement our own algoritm for the game Gomoku using a API provided by the school. The game is played on a 20x20 board and the goal is to align 5 pieces in a row, column or diagonal. The game is played by two players, one playing with black pieces and the other with white pieces. The game is won by the first player to align 5 pieces in a row, column or diagonal.

Api Documentation use for AI http://petr.lastovicka.sweb.cz/protocl2en.htm.

For the project we did a minmax algorithm

Specificities

  • This project is cross-platform and can run on both Windows and Linux.
  • A web graphical interface exist in bonus folder.

Technologies Used

  • C++
  • HTML
  • CSS
  • JS

(back to top)

Getting Started

Prerequisites

  • Git
  • Make
  • C++ compiler

Linux

Installation (Linux)

  1. Clone the repo
    git clone https://github.com/BastienBoymond/Gomoku.git
  2. Install and setup project
     make
  3. You have compiled AI, that you can use bonus front.
    ./pbrain-gomoku-ai

Windows

Installation (Windows)

  1. Clone the repo

    git clone https://github.com/BastienBoymond/Gomoku.git
  2. Install and setup project

     make
  3. You have compiled AI, that you can use bonus front.

    ./pbrain-gomoku-ai.exe

(back to top)

Other Information

Bonus

  • A web graphical interface exist in bonus folder.

Prerequisites

  • Js
  • Node
  • Compiled Ai named pbrain-gomoku-ai or pbrain-gomoku-ai.exe (on windows)

Usage

  1. Go to bonus server folder
    cd bonus/back
  2. Install and setup project
     npm install
  3. Run server
     node server.js
  4. Go to bonus front folder
    cd bonus/front
  5. Launch front
    Launch webnavigator for front.html

Authors