Skip to content

kngwyu/rogue-gym

Repository files navigation

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

  • core/devui 1.31.0-beta
  • python 1.32.0 nightly

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:

About

[WIP] Highly customizable rogue-like game for AI expmeriments

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages