Skip to content

namhainguyen2803/Gomoku-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Gomoku-NegaScout-AI

An AI playing Gomoku 15x15 using Negamax algorithm and NegaScout algorithm with time limitation and with depth limitation; Iterative Deepening; Zobrist Hashing; Null Window written in C++

In order to play, you have to do the following steps:

  • First, download the zip file and unzip it.
  • Second, move terminal to the direction of the file by "cd" command.
  • Third, run the program by typing into the terminal
g++ -std=c++17 negascout_depth_limited.cpp -o gomokuAI

or

g++ -std=c++17 negascout_time_limited.cpp -o gomokuAI

Then, type:

./gomokuAI

Note: You can switch algorithm, which by defaut is NegaScout, to NegaMax by changing the name of the function inside main().

About

An AI playing Gomoku 15x15 using Negamax algorithm, NegaScout algorithm, Zobrist Hashing, Null Window written in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages