Skip to content

MateoStr/BasicBattleSnake2018

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

BasicBattleSnake

a basic java battle snake

Base Technologies

  • Java 8 SDK - Link
  • Maven 3.3 - Link
  • Servlet 3.0 -
  • Gson 2.8.0 - Link

Minimum Requirements to run

  1. Install Java 8 SDK - Link
  2. Install Maven 3.3+ - Link
  3. Checkout project from git - Link
  4. From project directory that contains the pom.xml, run mvn jetty:run

Verify running

Expected Response times

  • Tomcat 4-5 ms
  • Jetty 6-7 ms

More Advanced Requirements to run

  1. Install Java 8 SDK
  2. Install Eclipse JEE Edition (I used Neon)
  3. Install Maven 3.3+ (optional since Eclipse comes with maven)
  4. Import project into Eclipse via git
  5. Alt-F5 to ensure Maven is synched
    At this point, you could use step #4 from the minimum requirements
    OR
  6. Install Tomcat 8.0+ (I used 8.5 when I made this)
  7. Install above could be done through eclipse, but if done separately, need to add the tomcat server installation to eclipse.
  8. Run-As -> Run on Server
    Verifications steps should be the same

Other Handy Tools

  • Postman chrome plugin, for testing web api POST requests

About

Sample java snake for https://www.battlesnake.io/ 2018

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.8%
  • HTML 0.2%