IDE : python
Task Implementing a Simple Kniffel Game!
The official rules can be found at:
[login to view URL]
The program should have the following basic functions:
Roll the dices
Displaying and completing a score card
Evaluation of the scorecard at the end of the game
To achieve this functionality, you can use objects and classes as well as functions.
Examples of meaningful classes would be, for example,
dice, throw, round, player, scorecard and so on.
The above classes are only suggestions that you can use, but you do not have to.
Functions step by step:
player can roll dice
player can take dice "out of the cup" for his next roll
player can add his roll to a scorecard
player can score his score display
The entry is evaluated correctly
The complete score sheet is evaluated correctly at the end of the game
The user can play a complete round of "Kniffel" with your program
Nice to have:
Code is meaningfully commented on
(Note: not every line needs to be commented on, but only places that are not trivial)
Meaningful variable names, class names and function names used
Hello Team,
I would have made this using Pygame as I have made checkers and chess in pygame before.
Would love to work on making this game and learn to play yahtzee at the same time. Always heard of the game never got to actually playing it.
Do get in touch so we can discuss this further, this would be fun.
Best Regards,
TD