top of page

Battleship Minigames

A small and delicate game of battleships made using Java. The games consist of players inserting the coordinates of their ship, and guessing where the computer's ship is on the 10 x 10 map.

​

This project was made utilizing the Encapsulation method in Java. Map references are taken from an old pirate treasure map. The 'X' means that the player's ship has been destroyed, '-' means there was no ship there, '@' means the player's ship is located there, and '!' means that the computer's ship was hit and sunk there.

 

Added some delay when printing the map, attack result, and also when the computer is deploying their ship to increase game tension and immersion.

​

The purpose of making the project was to understand the Encapsulation method, Java language, while also completing one of the module assignments while studying at Lithan Pvt. Ltd.

Copy of Recording 2022-08-08 at 21.53.18.gif
Screenshot 2022-08-26 132628.png
Screenshot 2022-08-26 133045.png
Screenshot 2022-08-26 133015.png

Call 

+6281909007809

Email 

Follow

  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

CONTACT ME

  • Facebook
  • Black LinkedIn Icon
  • Black Instagram Icon

Thanks for submitting!

Junior Web Developer

Phone:

+6281909007809

Email:

© 2022 By RubyMahendradana

bottom of page