Rubric

Find Rubric
Keep in mind that 572 students have already been assessed using this rubric. Changing it will affect their evaluations.
Lab 2 Rubric
Lab 2 Rubric
Criteria Ratings Pts
Number of Sticks
Correctly prompts user for number of sticks to start with
threshold: pts
10 pts
Full Marks
0 pts
No Marks
pts
10 pts
--
Computer First
The computer makes the first move
threshold: pts
10 pts
Full Marks
0 pts
No Marks
pts
10 pts
--
Player Prompt
Correctly prompts the player asking how many sticks they want to remove
threshold: pts
10 pts
Full Marks
0 pts
No Marks
pts
10 pts
--
Random Computer Moves
The computer randomly selects a number of sticks to take
threshold: pts
10 pts
Full Marks
0 pts
No Marks
pts
10 pts
--
Computer can only take 1 or 2 sticks
The computer cannot take more or less sticks than allowed by the rules (i.e., code only takes 1 stick when only 1 remains)
threshold: pts
10 pts
Full Marks
0 pts
No Marks
pts
10 pts
--
Player can only take 1 or 2 sticks
The human player can only take the number of sticks allowed by the game. Should re-prompt the player if an incorrect number of sticks is entered. Make sure to test this multiple times (it should continue to re-prompt until a valid number is entered)

Ask the student to demonstrate what would happen if the player tries to "cheat" and explain their code for this part.
threshold: pts
10 pts
Full Marks
5 pts
Only tests once
0 pts
No Marks
pts
10 pts
--
What is a good strategy?
Ask the student to describe what a good strategy for the computer would be (since random selection is a poor strategy). They don't need code for this part.
threshold: pts
5 pts
Full Marks
0 pts
No Marks
pts
5 pts
--
Well formatted output
Output is legible and easy to understand and contains all the info shown in the example run (round, sticks at start, who took what, and sticks remaining)
threshold: pts
5 pts
Full Marks
3 pts
omissions/confusing
1-2 items missing or confusing layout
0 pts
No Marks
pts
5 pts
--
Winner properly displayed
Program properly displays who won the game at the end
threshold: pts
5 pts
Full Marks
0 pts
No Marks
pts
5 pts
--
Explanation of how player prompt works
Ask them to show and explain their code that handles what happens when a player enters and invalid number of sticks
threshold: pts
7.5 pts
Full Marks
0 pts
No Marks
pts
7.5 pts
--
Explanation of how computer player works
Ask them to show you their code and explain how the computer randomly chooses how many sticks to take.
threshold: pts
7.5 pts
Full Marks
0 pts
No Marks
pts
7.5 pts
--
Code Style
Code is formatted cleanly and is easy to read. Variable names are appropriately chosen.
threshold: pts
5 pts
Full Marks
0 pts
No Marks
pts
5 pts
--
Code is committed
Make them show you that their code has been properly committed and pushed by viewing the repository on github
threshold: pts
5 pts
Full Marks
0 pts
No Marks
pts
5 pts
--
Total Points: 100 out of 100