🔰Setup guide
This section will cover the installation of Dungeons and Data Structures.
Last updated
This section will cover the installation of Dungeons and Data Structures.
Last updated
Dungeons and Data Structures requires a working version of Python 3. To check what version of Python you have, type the following into your terminal:
If you don't have Python 3 installed on your machine, please go to the official Python web site here and follow installation instructions for your operating system.
1. Download the latest game release:
2. Install the game environment:
Assuming workspace
is the directory you want to use to develop your AI-agent, open your terminal (as administrator) and run the following:
1. Alternatively, you can open your terminal and clone our GitHub Repo using:
2. Then run the following commands:
1. Download the package manually by heading over to our GitHub repo.
2. Click the 'Code' button on the right hand side and download the Zip file.
3. Unzip the folder in the destination of your choice (e.g. workspace/my-agent
).
4. Open your terminal and run the following commands:
In your terminal, ensure you're in the right working directory, then run:
If the above doesn't work, you may need to try using python -m coderone.dungeon.main
in replacement of the wrapper coderone-dungeon
, for example:
You should then see the game load:
Hit ENTER to start the game. We've opened the game in interactive mode, meaning you can use the following keys to try playing the game yourself (you are playing as the Knight):
ENTER
- pause / unpause the game
R
- restart the game with new random map
↑
/ ↓
/ ←
/ →
- arrows to move the player
SPACE
- place a bomb
If you got here without any errors - congratulations Dungeons and Data Structures is all set up!
It's time to build your first AI Agent! Click on the tutorial below to get started: