phone rings, pick up the phone ask user for: dice (five values) and keep info (five booleans) action (either roll or store) sequence of entries (history) roll number if user has no data: generate dice roll = 1 else: if user requests the action to store: if user already requests an entry: add the dice as that entry in the history regenerate the dice, reactivate roll, holding devices roll = 1 else: prepare the storage options for the user holding options are being made empty action control to roll is disabled (empty) else: if user doesn't want to keep dice1 regenerate it ... if user doesn't want to keep dice5 regenerate it roll += 1 if roll == 3: disable the action control give the user the dice and the roll number give the user the options to specify which dice to hold give the user the two action controls: roll, store