Ástríður Haraldsdóttir Passauer og Sylvía Hanna Tyrfingsdóttir
This project implements an old project from Graphical User Interface Programming 2022, focusing on BlackJack, but without the JavaFX dependency. In this version of BlackJack, players engage in a classic game against the dealer.
The project skeleton incorporates the Observer pattern for managing game state changes and features some aspects of the Template Method pattern for defining the structure of the game.
Additionally, this project is structured as a Maven project. This means it follows the standard Maven project structure, facilitating easy dependency management and project build automation.
Make sure you have the following installed on your system:
To be able to run the project locally, you will have to clone the repo with the following command:
git clone https://github.com/ahp9/final_project_hof.git
If user has Maven in the system, the following command will setup and run the project: Compiles all implementation classes
mvn compile
Packages the project classes into a JAR file
mvn package
Generates a site report for the project
mvn site
Runs all test cases (i.e. all classes with a name that end with Test
)
mvn test
Runs the project
mvn exec:java
If user does not have Maven, the project can be executed with the following command:
Package classes and create jar file:
.\createjar.cmd
Run jar file
.\runjar.cmd
You can find the UML Class diagram with the folllowing link UML-diagram
You can find the License with the following link LICENCE