To build the project you need to have maven installed on your computer. You can download maven here. After installing maven, you can build the project by running the following command in the root of the project
mvn package spring-boot:repackage
The env file should contain the following template
DB_HOST=
DB_NAME=
DB_USERNAME=
DB_PASSWORD=
By using the .env file we prevent the database credentials to be pushed to a repository
Sagrada is a board game for 1-4 players. The goal of the game is to get the most points by placing dice on the window frame of your player board. Each player has a private objective card and a public objective card. The private objective card is kept secret from the other players and gives points at the end of the game. The public objective cards are visible to all players and give points at the end of the game. Each player also has a collection of 5 dice. At the start of the game, each player rolls their dice and places them on the window frame of their player board. The dice can be placed anywhere on the window frame as long as the value of the die matches the color or number on the window frame. The players take turns placing their dice. On their turn, a player rolls the dice in their pool and places them on the window frame of their player board. The dice can be placed anywhere on the window frame as long as the value of the die matches the color or number on the window frame. If a player is unable to place a die, they must pass their turn. The game ends when all of the public objective cards have been completed or when a player is unable to place any more dice. At the end of the game, players count the points on their player board and add it to the points they received from their private and public objective cards. The player with the most points wins.