Skip to main content

A Gobang(also known as "Five in a Row" and "Gomoku") game equipped with AlphaGo-liked AI.

Project description

A Gobang(also known as "Five in a Row" and "Gomoku") game equipped with AlphaGo-liked AI.


  • Friendly GUI
  • MATCH RULES supported
  • Easy to install
  • AlphaGo-liked AI



AI Players

  • Greedy AI: the POLICY network without randomness
  • Probabilistic AI: the POLICY network with randomness
  • Thinking AI(xxx s): MCTS algorithm with POLICY and VALUE networks
    • To be implemented


  • dependencies
  • install
    $ pip install gobang


$ gobang

# or
$ python -m gobang


  • This project was originally developed 2 years ago.
  • The AI is developed based on Supervised Learning and Reinforcement learning.


  1. RocAlphaGo
  2. Mastering the game of Go with deep neural networks and tree search

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gobang, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size gobang-0.1.0.tar.gz (1.7 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page