🡠

Board game - Splendor

Summary

Splendor is a turn based game with the objective to collect and buy cards to get to 15 prestige points.

The assignment provided Use Cases which had to be analysed to implement in the application. We created Domain Models, Design Class Diagrams, System Sequence Models and Activity Diagrams per Use Case in Visual Paradigm.

This application UI and logic were developed in Java.

Creating a new game

Players can be added to the game. The information must comply with the domain rules, otherwise the user gets an error message. Unit tests were written for the domain rules.

When 4 players are added, the game starts.

Playing rounds & winner

Each player gets to pick 1 of 3 actions per round, allowing only the selected action to be completed, everything else on the board is disabled.

Each turn, the game checks conditions for illegal moves or winning conditions and updates the players items and cards. When winning conditions are met, the game stops and displays the summary and winner(s).

The simple demo with adjusted values shows a game being played. Actual gameplay is more complicated since players must save up funds and strategize each round to buy cards. Games can take up to 20 minutes.