Skip to content

A Java implementation of the strategic game Battleship.

License

Notifications You must be signed in to change notification settings

tassoneroberto/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages