Giter Site home page Giter Site logo

15_by_15_alphagomoku's Introduction


15 by 15 AlphaGomoku

Introduction

  • (2018-08-29) We implement an AlphaGo-based Gomoku AI program in 8 by 8 Free Style Gomoku. You can also get access to our presentation PPT in 2018 Likelihood Lab Summer Research Conference.

  • (2018-09-22) We combine our original AlphaGomoku program with Curriculum Learning, Double Networks Mechanism and Winning Value Decay to extend our AI to 15 by 15 Free Style Gomoku. Before we adopt these methods mentioned above, training 15 by 15 AlphaGomoku is intractable since the asymmetry and complexity of the game compared to the 8 by 8 simplified gomoku.

  • (2018-9-25) Our Reseach Paper is available at: paper. or at arxiv.

  • The training is continuing...... We hope that AlphaGomoku can evolve into Gomoku grand master someday.

Demonstration

Human vs AlphaGomoku (15 by 15 board)

AI adopts deterministic policy with 400 simulations per move. The first four pictures are games where AI plays the black stone. The following eight pictures are games where AI plays the white stone.

Tecent Gomoku AI(欢乐五子棋) vs AlphaGomoku (15 by 15 board)

Tencent Gomoku AI plays black stone. AlphaGomoku adopts deterministic policy with 400 simulations per move.

Animation (8 by 8 board)

The left Gif is a game self played by AlphaGomoku; The right Gif is a game between human and ai, where human adopts balck stone. All AI simulate 400 times per move.

Human vs AlphaGomoku (8 by 8 board)

AI plays the white stone against human, adopting deterministic policy with 400 simulations per move.

Contribution

Contributors

  • Zheng Xie
  • XingYu Fu
  • JinYuan Yu

Institutions

  • Likelihood Lab
  • Vthree.AI
  • Sun Yat-sen University

Acknowledgement

We would like to say thanks to Andrew Chen from Vthree.AI and MingWen Liu from ShiningMidas Private Fund for their generous help throughout the research. We are also grateful to ZhiPeng Liang and Hao Chen from Sun Yat-sen University for their supports of the training process of our Gomoku AI. Without their supports, it's hard for us to finish such a complicated task.

Set up

Python Version

  • 3.6

Modules needed

  • tensorflow
  • keras
  • pygame
  • threading
  • numpy
  • matplotlib
  • easygui (optional)

How to play with AlphaGomoku

  • Execute run.py
  • Select mode 2 (AI vs Human) to compete.
  • You can also compete with different versions of AlphaGomoku by switching the network.

Contact

15_by_15_alphagomoku's People

Contributors

anchen1011 avatar polyken avatar vincent-yu519 avatar xingyu-fu avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.