Skip to content

Staciiaz/pyftg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyftg

An interface for implementing python AI in DareFightingICE

First, install pyftg with pip.

pip install pyftg

Initiate Gateway for connecting to DareFightingICE platform.

from pyftg.gateway import Gateway
gateway = Gateway(port=50051)

Construct an agent and register it to gateway and then run the game by using following code.

agent = KickAI()
gateway.register_ai("KickAI", agent)
gateway.run_game(["ZEN", "ZEN"], ["KickAI", "MctsAi65"], 1)

After all the process are done, please also close the gateway.

gateway.close()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors