tassoneroberto / battleship

A Java implementation of the strategic game Battleship.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Java implementation of the strategic game Battleship.

License:MIT License


Languages

Language:Java 100.0%