Code | Points | Description |
---|---|---|
A1 | 2 | Submission is zip containing rps_sim.py |
A2 | 2 | Zip is named after uni, unzips to folder with uni-hw5 |
A3 | 2 | rps_sim.py is normal python file |
Each one all-or-nothing
Code | Points | Description |
---|---|---|
B1 | 10 | Limited global variables, code defined in functions |
B2 | 10 | Limited copy-pasted code between single game and simulation |
B3 | 10 | User interactivity matches specification |
Code | Points | Description |
---|---|---|
C1 | 5 | Asks user to play single game or simulation |
C2 | 5 | Single game prompts user for choice |
C3 | 5 | Game is correctly resolved win/lose/tie |
C4 | 5 | After single game/simulation, prompts to run again |
C5 | 5 | Simulation prompts for number of simulations |
C6 | 5 | Simulation correctly resolves 1/3 per outcome |
C7 | 4 | Simulation correctly displays win/lose/tie count and percentage |