a basic java battle snake
- Install Java 8 SDK - Link
- Install Maven 3.3+ - Link
- Checkout project from git - Link
- From project directory that contains the pom.xml, run
mvn jetty:run
- http://localhost:8080/BasicBattleSnake/ -> should produce static web page:
Hello Static World!
- http://localhost:8080/BasicBattleSnake/start
- http://localhost:8080/BasicBattleSnake/move
- Tomcat 4-5 ms
- Jetty 6-7 ms
- Install Java 8 SDK
- Install Eclipse JEE Edition (I used Neon)
- Install Maven 3.3+ (optional since Eclipse comes with maven)
- Import project into Eclipse via git
- Alt-F5 to ensure Maven is synched
At this point, you could use step #4 from the minimum requirements
OR - Install Tomcat 8.0+ (I used 8.5 when I made this)
- Install above could be done through eclipse, but if done separately, need to add the tomcat server installation to eclipse.
- Run-As -> Run on Server
Verifications steps should be the same
- Postman chrome plugin, for testing web api POST requests