Home

Awesome

Rogue-Gym

Buid Status Build Status PyPI version

A highly customizable roguelike game, with APIs for training AI agents.

Now the paper of Rogue-Gym is on arxiv.

We also published the traning code used for the paper.

Play as human

git clone https://github.com/kngwyu/rogue-gym.git
cd rogue-gym/devui
cargo run --release

Watch learned AI

Double DQN

Double DQN gif

There's also the action history file, and you can watch it by

cargo install --path ./devui --force
cd data/learned/ddqn-minidungeon/
rogue_gym_devui --config config.json replay --file best-actions.json --interval 100

PPO + IMPALA ResNet

Code is at https://github.com/kngwyu/rogue-gym-agents-cog19

PPO Gif

Python API

See this page

Acknowledgements

rogue5.4

Required minimum version of rust

License

This project itself is licensed under either of

at your option.

This project contains some third party products.

The following third party products are included, and carry their own copyright notices and license terms: