Git Product home page Git Product logo

genius-invokation-gym's Introduction

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

Logs

应该会采用rlcard相近的API接口进行设计,参考DouZero,目前正在调研中

参考炉石传说模拟器fireplace完成了卡牌及框架的初始化(目前仍为空文件)

顺便好奇一下为什么用invokation而不是invocation,求懂哥指点

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

Works Cited

RLCard: A Toolkit for Reinforcement Learning in Card Games

DouZero: Mastering DouDizhu with Self-Play Deep Reinforcement Learning

genius-invokation-gym's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.