Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lrenc/alphamiao

:smirk_cat: AlphaZero Gomoku
https://github.com/lrenc/alphamiao

alphago alphago-zero alphagozero board-game gomoku nodejs react self-learning tensorflowjs web

Last synced: 3 days ago
JSON representation

:smirk_cat: AlphaZero Gomoku

Awesome Lists containing this project

README

        

# AlphaMiao

This is an implementation of the AlphaZero algorithm with TensorFlow.js. You can use it to play the simple board game gobang.

:smirk_cat: :smiley_cat: :crying_cat_face: :joy_cat: :pouting_cat:

## start

```bash
npm run start
```

## train

```bash
npm run train
```

This model has been trained for about 3000 innings in total. The following is the match situation of self play in the 2800 innings. It can be seen that the AI program has learned how to attack and defend, and it is believed that it will become more comprehensive and flexible after more rounds of training.

self play

Tips: When playing chess, the AI speed is relatively slow, please be patient for a moment.