Question: 1. Implement Yatzy Engine Completion of the engine is not required to satisfy the lab. In YatzyEngine.java implement a set of helper function to capture
1. Implement Yatzy Engine
Completion of the engine is not required to satisfy the lab.
In YatzyEngine.java implement a set of helper function to capture the scoring of the game. This includes:
- The score of a specific turn. The input should be a game and a score box and the output should be a score for that box (e.g. the sum of ones for the ones box.
- Updating the overall score of the game. This should include the calculation of the bonus. The input should be a game and the output should that the provided game's overall score and bonus are properly calculated.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
