On the Subject of Mulitracking
All this for a print statement?
- You are out camping with your troop and have been tasked with finding out which animal broke into the neigboring troop’s cooler and ate all the food. Along the way, you find tracks of other animals which, when put together, could reveal the mystery animal.
- The seven tracks of the other animals will form the corners of two rectangles in the grid of possible tracks, with one corner missing. The track at this corner is the mystery animal.
- The module contains 9 boxes, each one being initially closed except for the bottom left box. Pressing this will reveal the top left box, pressing that will reveal the top middle box, continuing in a snaking pattern. However, invalid times are generated with each track, and pressing a box during one of these times will cause a strike.
- The middle right box is used to submit the tracks of the mystery animal. If an incorrect animal is submitted, the module will strike.
For each discovered track, do the following to find N:
- Take the row of the track in the chart times the first digit of the serial number.
- Take the column of the track in the chart times the last digit of the serial number.
- Take the number of letters in the name of the animal.
- Sum these three values and modulo 10. If no previous tracks share this N, stop here. Otherwise, add 1 (wrapping around from 9 to 0 if necessary) until a unique N is achieved.
Pressing the most recently found track’s box is only valid if the last digit of the timer does not match any N corresponding to a currently uncovered box.
The middle right box will display a random track. To submit the currently displayed track, press the box during any valid time as per the currently found tracks. Otherwise, the box can be pressed during invalid times to change its display:
- Pressing the box when the last digit of the timer is greater than 4 will shift its position in the grid one to the right.
- Pressing the box when the last digit of the timer is less than 5 will shift its position in the grid one below.