Skip to content

yihuai-gao/genius-invokation-gym

Repository files navigation

非常抱歉,由于作者近期时间有限,本项目暂停开发。

请关注谷雨同学已完成开发且持续更新的七圣召唤模拟器,欢迎试玩

Genius Invokation Gym

A simple simulator of the Genius Invokation TCG in Genshin impact

API will be designed based on rlcard

Simulator framework references fireplace

Package name gisim stands for both Genshin Impact and Genius Invokation

一个简易的七圣召唤仿真器(如果不弃坑的话)

希望可以实现类似openai-gym的API,用于训练ai&评估卡组强度

简单介绍请参考该Notion页面

Get Started

Prerequisites:

Installation: enter the project directory and execute the following command:

poetry install

(Optional) You can also try to install this package with pip:

pip3 install .

Runnable basic demo locally: give the following a try:

poetry run python3 -u tests/test_framework.py

Roadmap

  • Encode the game status into a dictionary
  • Define all kinds of messages for communication
  • Use message queue (with priority) to buffer all messages
  • Enable judging validity of a proposed action
  • Add message handler to every character, summon, status, ...
    • Finish normal attack, elemental skill, elemental burst of KamisatoAyaka (as a template to generate more characters in the future)
    • Add Summon and Elemental Infusion based on KamisatoAyaka
  • Currently available roles
    • Kamisato Ayaka
    • Maguu Kenki
    • Sucrose

新建QQ交流群613071650,欢迎感兴趣的同学入群,欢迎成为Contributor!

Works Cited

RLCard: A Toolkit for Reinforcement Learning in Card Games

DouZero: Mastering DouDizhu with Self-Play Deep Reinforcement Learning

About

原神七圣召唤模拟环境 Simulator of Genius Invocation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published