Purpose
To write code to specifications; to use loops, conditional statements, Boolean logic, lists, and dictionaries; to perform basic input handling and error checking; to compute the results of formulas
Assignment
The text-based game “Star Trek” has been around in many forms since the early
1970s. You will write a simplified version of it, as specified below.
A sample implementation is installed on the CPSC machines that will allow you to
discover the finer points of how your game should behave
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |