This project is a live coding contest.
The goal of the game is to implement an elevator engine. Participants have to subscribe with a login, an email (in order to display a linked gravatar) and a server url. Then HTTP GET requests will be send to this server :
/call?atFloor=[0-5]&to=[UP|DOWN]/go?floorToGo=[0-5]/userHasEntered/userHasExited/reset?cause=information+message
/nextCommand: body of the request must containsNOTHING,UP,DOWN,OPENorCLOSE
Here is what you need to build and run a code elevator session :
- JDK 1.7
- maven
These steps are described for a Mac Os X machine but can be adapted to any operating system.
$ git clone [email protected]:xebia-france/code-elevator.git
$ cd code-elevator
$ mvn clean install
$ cd elevator-server
$ mvn jetty:run
And then go to http://localhost:8080, subscribe to a session and start implementing your participant server.