Question: Programming Principles Assignment: Individual Programming assignment (Dice Game) Assignment Marks: Marked out of 20, (15% of unit result) Due Date: TBA (see moodle) Background Information
Programming Principles
Assignment: Individual Programming assignment ("Dice Game")
Assignment Marks: Marked out of 20, (15% of unit result)
Due Date: TBA (see moodle)
Background Information
This assignment tests your understanding of and ability to apply the programming concepts we have covered in the unit so far, including the usage of variables, input/output, data types, selection, iteration, functions and data structures.
Pseudocode
As emphasised in the case study of Module 5, it is important to take the time to properly design a solution before starting to write code. Hence, this assignment requires you to "write a" and submit pseudocode of your program design as well as the code for the program. Furthermore, while your tutors are happy to provide help and feedback on your assignment work throughout the semester, they will expect you to be able to show your pseudocode and explain the design of your code.
"Write a" separate section of pseudocode for each function in your program.
Assignment Requirements
You are required to design and implement a "Dice Game" program that runs a short game that uses dice. The rules of each dice game are available on moodle - make sure you do the dice game allocated to you.
Implement all of the following requirements, and ask your tutor if you do not understand any of the requirements.
1.The program should welcome the user and ask how many players (1...4).
2.The program should explain briefly the rules of the game.
3.Depending on the game each player should have their "turn" and the results displayed.
4.The program should keep a record of the winner of the game.
5.After the results are displayed the user should be asked if they wish to play again.
6.If they answer 'y' then the program should repeat from the beginning.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
