Mathematics
Mathematics, 08.04.2020 13:48, mpete1234567890

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

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:50, justyne2004
Eight people were asked what the balance of their savings account at the beginning of the month was and how much it increased or decreased by the end of the month. create a scatter plot that represents the data that is shown in the table. the x-axis represents the beginning balance in thousands of dollars and the y-axis represents the change in the savings account in hundreds of dollars. name beginning balance (in thousands of dollars) change in savings account (in hundreds of dollars) jimmy 5 3 kendra 4 7 carlos 5 4 yolanda 3 1 shawn 2 5 laura 3 2 andy 5 6 georgia 4 3
Answers: 1
image
Mathematics, 21.06.2019 18:50, brooke0713
Expresa commuter train leaves downtown sation and travels at a average speed of 55 miles per hour towards the north side sation, which is 50miles away. thirty minutes later, express commuter train #7 leaves north side and travels at a average speed of 35miles per hour towards downtown sation. at the moment the two trains pass each other, how far(in miles) is train #12 from the downtown sation and how long(in minutes) has the #12 train been traveling
Answers: 1
image
Mathematics, 21.06.2019 19:00, aceves5493
After t seconds, a ball tossed in the air from the ground level reaches a height of h feet given by the equation h = 144t-16t^2. after how many seconds will the ball hit the ground before rebounding?
Answers: 2
image
Mathematics, 21.06.2019 19:10, hannahbannana98
If i have 20$ and i gave 5$ away how much i got
Answers: 1
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:

Konu
Mathematics, 15.01.2021 04:50
Konu
Physics, 15.01.2021 04:50