subject
Mathematics, 05.04.2020 07:48 jaden2058

This assignment involves two related games. In each game the two players alternately name dates. The winner is the player who names 31st December and the starting date is 1st January. Each of the two games use a different rule for the dates the player is allowed to name. For each game. 1. Devise a winning strategy, stating which player should win. State also if it depends on whether the year is a leap year or not. 2. Write a pseudocode algorithm for optimum play. The games are. a. (Easy) A player can name the 1st of the next month or increase the day of the month by an arbitrary amount. (For example, the first player begins by naming 1st February or any date in January other than the 1st). b. (Harder) A player can name the first of the next month or the next day of the current month. (For example, the first player begins by naming 1st February or 2nd January). Hint: Look for patterns. Begin by looking at December dates.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 18:20
Reflect the point (7,0) across the y-axis
Answers: 2
question
Mathematics, 21.06.2019 19:50
Organic apples are on special for $1.50 per pound. does total cost vary inversely or directly with the number of pounds purchased? find the cost of 3.4 pounds of apples. a. inversely: $5.10 b. directly; $5.10 c. inversely: $2.27 d. directly; $2.27
Answers: 1
question
Mathematics, 21.06.2019 20:30
If rt is greater than ba, which statement must be true ?
Answers: 1
question
Mathematics, 21.06.2019 20:40
Answer pls man im trying to get out of summer school
Answers: 1
You know the right answer?
This assignment involves two related games. In each game the two players alternately name dates. The...
Questions
question
Mathematics, 18.03.2021 01:10
question
Mathematics, 18.03.2021 01:10
question
Mathematics, 18.03.2021 01:10
Questions on the website: 13722360