TFTMuZeroAgent

TFTMuZeroAgent

Team fight tactics AI

Stars: 117

Visit
 screenshot

TFTMuZeroAgent is an implementation of a purely artificial intelligence algorithm to play Teamfight Tactics, an auto chess game made by Riot. It uses a simulation of TFT Set 4 and the MuZero reinforcement learning algorithm. The project provides a multi-agent petting zoo environment where players, pool, and game round classes are designed for AI project. The implementation excludes graphics and sounds but covers all aspects of the game from set 4. The codebase is open for contributions and improvements, allowing for additional models to be added to the environment.

README:

Teamfight Tactics RL Agent

Teamfight Tactics is an auto chess game made by Riot.

To my knowledge, this is the first attempt at purely artificial intelligence algorithm to play Team Fight Tactics.

This implementation uses a simulation of TFT Set 4 based on Avadaa's project.

The player rounds as well as the player, pool, and game round classes were designed for this AI project. All aspects of the game from set 4 minus graphics and sounds are implemented in our simulation. It is set up as a multi-agent petting zoo environment.

The reinforcement learning algorithm currently in use is MuZero based on google's implementation but adjusted for use here. Many features in google's implementation were removed and I adjusted the tree to allow for multiple players to take actions at the same time to support batching.

Any and all questions related to this project are welcome at [email protected]

Any and all further improvements to this project will be looked at, discussed, and highly likely accepted.

The environment is separated from the model so if someone wants to add an additional model to this environment, they are welcome to do so following the same examples as the current model is set up.

If anyone wants to participate in the project, all are welcome to join the discord at https://discord.gg/cPKwGU7dbU

Recommended Set-up

Python version: ~ Python 3.8

  • Create a virtual env to use with the project & activate virtual env
  • Install all necessary libraries in codebase

Before starting training, you need to build the c++/cython style external packages. (GCC version 7.5+ is required.)

cd core/ctree
bash make.sh

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for TFTMuZeroAgent

Similar Open Source Tools

For similar tasks

For similar jobs