Skip to content

Instantly share code, notes, and snippets.

@vingkan
Last active November 12, 2017 02:28
Show Gist options
  • Save vingkan/478244d6e3ec6e2235c4962d4013090c to your computer and use it in GitHub Desktop.
Save vingkan/478244d6e3ec6e2235c4962d4013090c to your computer and use it in GitHub Desktop.
ScarletHacks Java Battleship Tournament

Java Battleships

Instructions

  1. Visit class.mimir.io and create an account. Click the Join Course button in the left pane and enter the code 13eaf0a5e1 to join the Battleships tournament.
  2. Find the Battleships project and click Open IDE to access the development area for this challenge.
  3. Open ships/BattleShip.java and edit the name and owner of your ship. A very basic ship has been created for you. Can you figure out what it does?
  4. Simulate the battle. Run these commands in the terminal each time you want to test your ship.
javac battlehub/TeamMain.java
java battlehub.TeamMain
  1. View the results of the battle in the /files folder.
  2. Check out the documentation to learn how to customize your ship.

Competition

Tournament rules coming soon...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment