This is the ECM2414 Software Development Pair Programming Coursework. The purpose is to create a threaded card game where multiple players compete to have a hand of 4 same cards. The specification can be found here.
The actual submission is in the Submission folder. As per the specification, the submission
contains the following:
To get submission ready (complete JAR, cardsTest folder etc) run the following command:
chmod +x ./tools/Submit.sh
./tools/Submit.sh To check the validity of a submission (run tests then code) run the following command:
chmod +x ./tools/CheckSubmission.sh
./tools/checkSubmission.shThe submission contains a README within the cardTest.zip archive that details how to run the software.
If you want to run the code from source you can from this root directory.
First compile the code:
javac -cp lib/junit-4.13.2.jar:lib/hamcrest-core-1.3.jar:out -d out src/main/*.java src/tests/*.javaThen run the code:
java -cp out main.CardGameTo run the tests:
java -cp lib/junit-4.13.2.jar:lib/hamcrest-core-1.3.jar:out org.junit.runner.JUnitCore tests.TestSuiteYour code part includes the following two files (i.e., cards.jar and cardsTest.zip).
-
A copy of your finished classes in an executable jar file named cards.jar. The jar file should include both the bytecode (.class) and source files (.java) of your submission.
-
A copy of your finished classes, and associated test classes and test suites, and any supporting files, in a zip file named cardsTest.zip. The zip file should include both the bytecode (.class) and source files (.java) of your submission (plus any testing files the tests may rely upon), and a README file, detailing how to run your test suite.
A write-up of the project and stages of development
This project was developed by: Ed Fillingham and Andrei Lariu-Rusu
This falls under the MIT License. See LICENSE for more information.
