generated from mwc/lab_dice
play.py yahtzee.py yahtzee_goals.py
This commit is contained in:
@@ -97,7 +97,7 @@ class Yahtzee:
|
||||
|
||||
def get_unused_goals(self):
|
||||
"""
|
||||
Conditional appending of the list of unused_goals.
|
||||
Conditional appending of the list of unused_goals, displayed in the menu.
|
||||
"""
|
||||
unused_goals = []
|
||||
for goal in self.goals:
|
||||
@@ -120,7 +120,8 @@ class Yahtzee:
|
||||
|
||||
def get_dice_to_reroll(self, choice_ints):
|
||||
"""Conditional logic to append dice to the dice_to_reroll list,
|
||||
and removes dice that weren't chosen from the choice_ints list.
|
||||
and removes dice that weren't chosen from the choice_ints list
|
||||
(the Dice: displayed in the show_status function)
|
||||
"""
|
||||
dice_to_reroll = []
|
||||
for die in self.dice:
|
||||
|
||||
Reference in New Issue
Block a user