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

https://github.com/gdonald/reversi-py

Reversi with reinforcement learning
https://github.com/gdonald/reversi-py

ai machine-learning othello reversi

Last synced: 8 months ago
JSON representation

Reversi with reinforcement learning

Awesome Lists containing this project

README

          

# reversi-py

## Play

With no training:

```
python reversi.py
```

After lots of training:

```
python reversi.py --model checkpoints/best.pt
```

## Train

```
python train_loop.py \
--games-per-iter 64 \
--train-steps 1000 \
--batch-size 512 \
--mcts-sims 200
```

## Preview

![Reversi](https://raw.githubusercontent.com/gdonald/reversi-py/refs/heads/main/reversi.gif)