jiangsier-xyz / jiangsier-gobang

A Gobang game with several AI players.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jiangsier-gobang

English | 中文版

Introduction

jiangsier-gobang is a reinforcement-learning-based AI Gomoku game. It supports multiple AI players (each using different model structures). These AI players can learn through self-play or playing against each other.

Training

You can start from scratch using the Monte Carlo tree for training. Alternatively, you can use game records from approximately 5000 human games (in Smart Game Format) for training to obtain better initial parameters.

It supports multiple AI players. Model complexity: Ace < Fox < Baker < Casey < Darling < Ellis

Special players:

  • Gill: Combines the predictions from Ace, Baker, Casey, Darling, and Fox with different weights. The weight settings are based on the results of games played among the AI players. Tests show that its playing strength is higher than that of individual model AI player.
  • Monkey: Uses random moves as priors and employs the Monte Carlo tree to calculate the next move.
  • Teacher: A role based on strategy.

Snapshots

On Console

Console Snapshot

On Web

Web Snapshot 1 Web Snapshot 2

About

A Gobang game with several AI players.

License:Apache License 2.0


Languages

Language:Python 90.1%Language:HTML 9.3%Language:Shell 0.6%