This project is used for the Generic Video Game Competition (GVGAI) Learning Competition since the year 2019. For more about the competition legs, rules and rank, please visite the AI in Games website, maintained by Hao Tong and Jialin Liu.
This project is forked from GVGAI Gym, which is an OpenAI Gym environment for games written in the Video Game Description Language (VGDL), including the GVGAI framework.
Please refer to the paper Deep Reinforcement Learning for General Video Game AI for more about the GVGAI GYM framework and some initial results of Reinforcement Learning (RL) agents. This paper should be cited if code from this project or the original GVGAI GYM project is used in any way:
@inproceedings{torrado2018deep,
title={Deep Reinforcement Learning for General Video Game AI},
author={Torrado, Ruben Rodriguez and Bontrager, Philip and Togelius, Julian and Liu, Jialin and Perez-Liebana, Diego},
booktitle={Computational Intelligence and Games (CIG), 2018 IEEE Conference on},
year={2018},
organization={IEEE}
}
Two competition legs at IEEE CoG2021: http://aingames.cn/gvgai/cog2021/
Game-level\ Planing agent | RHEA | MCTS | OLETS | Random | Theoretical maximum |
---|---|---|---|---|---|
greedymouse-lv0 | 21.4(0) | 29(0) | 57.8(4) | -4.7(0) | 98 |
greedymouse-lv1 | 12.7(0) | 20(0) | 26.1(0) | -2.23(0) | 67 |
bravekeeper-lv0 | 38.7(24) | 40.8(30) | 47(28) | 8.5(0) | 100 |
bravekeeper-lv1 | 36.2(12) | 51.7(26) | 50.8(24) | 5.0(0) | 90 |
trappedhero-lv0 | 1.7(0) | 2.0(1) | 13.3(25) | 1.5(1) | 15 |
trappedhero-lv1 | 0(0) | 0.17(0) | 10.2(17) | 0(0) | 15 |
Table 1: Average score (wins) of different planning agents on each game level over 30 independent trials.
Way 1: using Docker
Please refer to the step-by-step guidelines for setting up the framework and RL baselines with Docker (using GPU or CPU only).
Way 2: git clone
pip install -e <package-location>
to install the packagesudo apt install openjdk-9-jdk-headless
)Bug reports and pull requests are welcome on GitHub at https://github.com/SUSTechGameAI/GVGAI_GYM.
original GVGAI-Gym (master branch)
AI in Games website for more about competition updates
Deep Reinforcement Learning for General Video Game AI published at IEEE CIG2018