Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.
/ COMP4004-A1 Public archive

🎲 "Pirates" game with JUnit tests for COMP 4004.

Notifications You must be signed in to change notification settings

lfroms/COMP4004-A1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMP4004-A1

Assignment #1 for COMP4004

Created by: Lukas Romsicki

Student Number: 101059080

Launch instructions

  1. Clone this repository.
  2. cd COMP4004-A1 - cd into the source.
  3. mvn package - Compile the source into JARs.
  4. cd target - cd into the location of the JARs.

To run the manual test cases

  1. java -cp COMP4004-A1-0.0.1.jar server.Server <sequence> - Start the server, where <sequence> is either seq_a or seq_b.
  2. java -cp COMP4004-A1-0.0.1.jar client.Client - Run this 3 times in separate shells to start each client.

To launch the game in normal mode

  1. java -cp COMP4004-A1-0.0.1.jar server.Server - Start the server.
  2. In the same shell, enter an integer representing the number of players and press enter.
  3. java -cp COMP4004-A1-0.0.1.jar client.Client - Run as many times as needed in separate shells to start each client.

About

🎲 "Pirates" game with JUnit tests for COMP 4004.

Resources

Stars

Watchers

Forks

Languages