Making Math Fun?
Due on ELMS as a PDF and an APK by 11pm on September 26th.
(stick figures modified from XKCD)
For this homework assignment, you will attempt to make a math problem
into a game of some sort.
There is a set of problems where people have hats of one of two colors placed on their head in a way that they cannot see their own hat color and they are asked to guess what color hat they are wearing. One version of this has two people face each other so they are able to see the hat color of the other person. They then have to make simultaneous guesses about their own hat's color. If at least one of the two is right, they both win. They are allowed to come up with a plan in advance, but the adversary who is deciding which hats to put on them will hear the plan and will actively work against it. There is a winning strategy for the two person, two hat color game. The two people agree that a specific one of them will always guess that their hat is the same color as the one they see on the other person, while the other person will always guess that their hat is the other color from the one they see on the first person. We have placed a basic Android Studio project at http://www.cs.umd.edu/class/fall2018/cmsc434-0201/TwoHats.zip that creates a simple app where the user can select the hat color of each of the two people, press a button, and see what the strategy leads to as guesses. For this homework assignment, you will:
ELMS will be set up to allow you to upload a PDF and an APK. The PDF will need to contain your four-player drawing mock-up, your game story, and the screenshots of the modified two-player app. The APK needs to be of the modified two-player app in case we want to run it and try it out. |