Input
Roll again?

Output
Five random numbers (one for each die)
ship, captain, and crew die
score

Processing

First throw of the dice
Display instructions.
Proceed when the player presses a key.
Generate five random numbers.
Check for and set aside ship, captain, and crew die; in that order.
(You must have a ship before you can get a captian and you must have a captian before you can get a crew.)
If there is a ship, captain and crew then calculate score.

Second throw of the dice
Only proceed if the player wants to roll again.
Generate random numbers for remaining dice.
If player hasn't gotten a ship, captain, and crew, check for and set aside any that are found.
If there is a ship, captain and crew then calculate score.

Third throw of the dice
Only proceed if the player wants to roll again.
Generate random numbers for remaining dice.
If player hasn't gotten a ship, captain, and crew, check for and set aside any that are found.
If there is a ship, captain and crew then calculate score.