Mathematics
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.

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 16:00, Rainey1664
In the 30-60-90 triangle below side s has a length of and side r has a length
Answers: 2
image
Mathematics, 21.06.2019 19:30, adhanom12
The volume of a cube-shaped shipping container is 13,824 cubic inches. find the edge length of the shipping container.
Answers: 1
image
Mathematics, 21.06.2019 21:20, burners
What is the area of a triangle with vertices at (-3 3) (-3,2) and (1,2)?
Answers: 1
image
Mathematics, 21.06.2019 23:30, laywah4
Petes dog weighed 30 pounds it then lost 16% of it's weight how much did pete lose
Answers: 2
Do you know the correct answer?
This assignment involves two related games. In each game the two players alternately name dates. The...

Questions in other subjects: