Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lrenc/alphamiao
- Owner: lrenc
- Created: 2020-08-18T04:46:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T07:05:25.000Z (over 1 year ago)
- Last Synced: 2024-12-05T11:09:50.006Z (2 months ago)
- Topics: alphago, alphago-zero, alphagozero, board-game, gomoku, nodejs, react, self-learning, tensorflowjs, web
- Language: JavaScript
- Homepage:
- Size: 3.12 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
Tips: When playing chess, the AI speed is relatively slow, please be patient for a moment.