Create game AI
Test agent
Input | Output | Evaluation |
---|---|---|
-- | -- | -- |
Choose example
Update agent
Add to game
pip3 install mindspawner
from mindspawner import MindSpawner
# Initialize Game AI agent
agent = MindSpawner(user_id='', agent_id='')
agent.connect()
# Send input and get output
action = agent.get_agent_action(observation)
# Send reward/evaluation to the agent
agent.send_evaluation(reward)