I have tried to move the project from the university's gitlab server, but due to there being a file that exceeds github's size limit in the remote repository, and us losing rights to push changes, I had to erase the old .git folder from the project.
'Quizzzz' is a quiz game, where players can play individually or compete against others, while also increasing their awareness of the real energy consumption of everyday activities!
Profile Picture | Name | |
---|---|---|
Ivan Moreno Sarries | [email protected] | |
Alexander Nygård | [email protected] | |
Eyse Engbers | [email protected] | |
Pepijn Bosma | [email protected] | |
Codrin Ogreanu | [email protected] | |
Yury Tremsin | [email protected] |
After cloning the repository, go to the project folder. From this link,
download the .zip folder containing the activities in json format. Move the folder to {projectDir}/server/src/main/resources
and extract it. Inside it will be another zip file; Rename it to
activities.zip. Now you are ready to run the project!
Using gradlew through either Intellij or the command line, run bootRun
to start the server, and run
to start a client.
When started up, the application will ask the user to enter a nickname to be used during the game. This nickname needs to be between three and twenty characters long. After this the user will be shown the home screen where they can choose to click five buttons which will lead them to different screens.
When pressed the top-left button on the screen labeled Singleplayer game a new singleplayer game will start.
The user will be shown a question, and they will have twenty seconds to answer it. The time can be seen at the top of the screen. The question will end either by the user selecting an answer or by the time running out.
If the answer given by the user was correct, then the score of the user will be incremented by the appropriate amount. The current score of the user can be seen directly under the time.
After twenty questions the game will end and the user will be shown the leaderboard of singleplayer games.
If the user wants to exit the game at any time they can click the exit button in the top-left corner of the screen which will lead them back to the home screen.
The multiplayer game is started by pressing the button labeled Multiplayer game on the home screen. You will be taken to the lobby, where you can see the names of the other players waiting for a game.
At any point, you or any other player can start the game by pressing Start game
.
Alternatively, you can instead press Exit
, which will take you back to the home screen.
A multiplayer game is very similar to the singleplayer version, with one major difference: you can use emojis 🤠 By pressing any of the emoji buttons situated on the left-hand side, you can send emojis that are seen by every player in that game in the chat window, situated on the right-hand side.
For instructions for how to play, press the How to play
button located on the home screen.
By pressing the Global leaderboard
button on the home screen, you can see the scores of the best player, ranked
from highest to lowest.
By pressing the Admin interface
button on the home screen, you are taken to the admin interface.
Using the Refresh
button, you can see the list of all the activities stored on the server. Using the other two
buttons located at the bottom of the screen, you can delete selected activities, and add new ones.
Additionally, by double-clicking on an attribute of an activity, you can edit it directly.
We are open to merge requests, with the condition that they must be reviewed and approved by at least 2 original group members before being merged into the project.