Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Latest commit

 

History

History
49 lines (28 loc) · 1.58 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.58 KB

Python starter kit

Prerequisites

First of all, go to http://monkeymusicchallenge.com, sign up and get your API key.

For this starter kit, you will need basic knowledge of:

Make sure to have the requests library installed on your system.

We recommend installing packages using pip.

Also, if you run into trouble, make sure to use Python 2.7 or newer.

Getting started

Start by forking this repository to your own GitHub user.

Then, open up a terminal and:

git clone [email protected]:<username>/python-starter-kit.git
cd python-starter-kit
pip install requests
python main.py <your-team-name> <your-api-key> <game-id>

These are all UNIX commands. Got Windows? We recommend Cygwin.

Make sure to surf to your team page before running the above commands...

Your monkey is waiting for you!

How to complete the warmup challenge

main.py contains the boilerplate needed to communicate with the server. You should not need to change anything in here unless we have done something wrong.

We suggest you go straight to ai.py and start playing around with the code.

Have fun!

Bugs

When you find bugs in our code, please submit an issue or pull request to our original starter kit repository.