Skip to content

Second project developed for 'Distributed Systems', a third year subject @FEUP. Made in collaboration with @EdgarACarneiro, @LastLombax and @rjstorres

Notifications You must be signed in to change notification settings

afonsojramos/feup-sdis-navalBattle.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BCH compliance

Second Project Distriuted Systems - 'NavalBattle.io'

A naval battle game implemented with a client-server tipology that follows the idea of the modern .io games: the game has no beggining nor end, it is always running. To know more about the game clone the repository and see the documentation.

Build Tips (Eclipse/IntelliJ)

During our development we used both Eclipse and IntelliJ for their easier use of run configurations, and other Full IDEs adavantages.

To build on these IDEs it is just needed to create a project from the folder and then defining Main.java as our main class.

Build Tips (Terminal)

# Linux
$ find -name "*.java" > sources.txt
$ javac @sources.txt

:: Windows
> dir /s /B *.java > sources.txt
> javac @sources.txt

Running

To start a Server, use the following command as an example:

$ java Main <PORT>
OR
In and IDE add arguments: game <PORT>

To start the Player, use the following command as an example:

$ java Main player <IP> <PORT>
OR
In and IDE add arguments: player <IP> <PORT>

About

Second project developed for 'Distributed Systems', a third year subject @FEUP. Made in collaboration with @EdgarACarneiro, @LastLombax and @rjstorres

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Java 100.0%