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 Maven installed on your system.
Also, if you run into trouble, make sure to use the latest version of Java.
Start by forking this repository to your own GitHub user.
Then, open up a terminal and:
git clone git@github.com:<username>/java-starter-kit.git
cd java-starter-kit
mvn package
java -jar target/warmup.jar <your-team-name> <your-api-key>
Use Eclipse or IDEA? Run mvn eclipse:eclipse
or mvn idea:idea
and then import into your favorite IDE.
Issues with maven
or java
? Did you remember to upgrade your Java to version 1.8?
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!
Main.java
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.java
and start playing around with the code.
Remember, your mission is to:
- guide your monkey through the warmup level
- pick up all the music items
- get them to the eagerly awaiting Spotify user
Have fun!
When you find bugs in our code, please submit an issue or pull request to our original starter kit repository.