Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.04 KB

Battleship

alt text

Introduction

A Java implementation of the strategic game Battleship.

https://en.wikipedia.org/wiki/Battleship_(game)

This is one of my first projects. I realised it to learn the basics of Java.

Game Screens

Installation

Clone and change directory:

git clone https://github.com/tassoneroberto/battleship.git
cd battleship

(OPTION 1) Compile and run:

javac -cp . battleship/BattleShip.java
java battleship/BattleShip

(OPTION 2) Make JAR file and run:

jar cfe BattleShip.jar battleship/BattleShip .
java -jar BattleShip.jar

Authors

Co-authored with: Antonio Rachele