View on GitHub

Battle-boats

Link to my Game

Welcome to the Battle-boats Game!!

How to play the game for beginners:

  1. In Repl, enter the following commands:

->cd src

->javac BattleBoatsGame.java

->java BattleboatsGame

  1. Follow instructions while running the game

  2. Have fun destroying the ships!

The User has two modes to choose from:

  1. Standard Mode

  2. Expert mode

The standard method consists of:

  1. 8x8 board
  2. 5 boats (Labelled as in numbers 0 to 4) {Our ships never overlap on top of each other}
  3. Powers limited to one drone and one missile and one time the coordinate will be displayed

The Expert method consists of:

  1. 12x12 board
  2. 10 boats (Labelled as in numbers 0 to 9) {Our ships never overlap on top of each other}
  3. Powers limited to two drones and two missiles and two times the ship coordinates will be displayed

Special Powers:

  1. Missile
  1. Drone
  1. Coordinations

Possible bugs:

  1. When print function is called it prints the board twice, as after fulfilling the if condition the main method is run through that consists of the board print method call

  2. After implementing drone feature and printing target spots the program generates an Invalid input statement. No need to panic for this one though!

Partner’s Work on Project:

Rishi:

Dylan: