-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Michael Cashmore edited this page Jun 13, 2022
·
21 revisions
Welcome to the craft-bots wiki!
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.
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)