Giter Site home page Giter Site logo

basnetsoyuj / alphabaghchal Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 3.0 3.61 MB

A deep reinforcement learning AI agent inspired by Alpha Zero that learns to master the traditional Nepali Board Game of Bagh Chal through self-play.

Python 100.00%
bagh-chal alphazero python reinforcement-learning

alphabaghchal's Introduction

AlphaBaghChal

Bagh Chal is one of the many variants of the tiger hunting board games played locally in South East Asia. The strategic, two-player board game is played on a 5x5 grid.

Inspired by AlphaZero, the project tries to use state-of-the-art methods in the deep reinforcement learning paradigm to master the traditional Nepali board game of Bagh Chal through self-play. It uses a single deep residual convolutional neural network which takes in a multilayered binary board state and outputs both the game policy and value, along with Monte Carlo Tree Search.

Check out the accompanying blog where I write about my experience developing this self-learning AI agent: Mastering Bagh Chal with self-learning AI

AI playing BaghChal

Todos

  • Tabula Rasa Learning
  • Better training
  • Pytorch version

alphabaghchal's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

alphabaghchal's Issues

Action Space

Your action space size is only 217.
Adding 2 No Moves for each.
And not treating bagh and goat's normal moves as separate makes it confusing for the policy network to find patterns.
Accounting that as well, the total Action Space size could be 331.

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.