Skip to content
Michael Cashmore edited this page Jun 13, 2022 · 21 revisions

Welcome to the craft-bots wiki!

Wiki Contents

Quickstart

Install the dependencies, clone the repository, and run main.py

git clone https://github.com/strathclyde-artificial-intelligence/craft-bots
cd ./craft-bots
pip install -r requirements.txt
python main.py

Press "reset" to generate a new simulation, and "start" to begin the simulation. The default agent acts randomly.

Connect your own agent

Once you have created your own agent open main.py and modify the lines which append the default agent to the simulation.

# agent
agent = TestAgent()
sim.agents.append(agent)
Clone this wiki locally