Decomposition of problem:The task at hand is to create a two player dice rolling game, with 5 rounds, scoring system, user authentication when logging in and a Top 5 leaderboard for the post-game sequence. There are various scoring mechanics and rulings that need to be implemented, such as if the score from the rolls is even, an additional 10 points are added to the final score. The scores of each player are to be displayed after each round and the winner to be decided after 5 rounds. If the players scores are equal after 5 rounds, a Sudden Death round is initiated, whereby each player has one die to roll the higher score. The round repeats until a winner emerges.This is the basic overview of the task given, however I have decided to expand upon the idea. In addition to the two player mode, known as PvP, a one player gamemode called PvC is to be added, to appeal to the class of gamers who prefer to play alone. To account for the extra gamemode, a menu system is to also be implemented, which shall display the title of the game and give the user three options: PvP, PvC, and Leaderboards. The leaderboards accessed from the menu will differ from the post-game leaderboard, as it will display every score recorded, not just the top 5.To accomplish this task, I have set up some key success criteria which, if followed correctly, should produce a well-functioning, appealing and efficient game:Success Criteria:Easy to use UIUI is colourful and appealing to the userGame Instructions concise and clearGameplay mechanics function normallyScoring system mechanics function normallySudden Death round loops efficientlyRounds counter functioning normallyUsername validation blocks/allows appropriate namesLeaderboards can be updated and function normallyLeaderboards can be viewed at any time from the menu screenMenu screen gives option of PvC, PvP and the full leaderboard
