For each of the game screenshots below, the math and the code for computing the covered distance is shown. Notice what is similar and what is different about how the top and bottom distances are calculated. Think about why those similarities and differences exist and record your thinking.

Screenshot of a desert game. A right triangle connects a cactus and a raindrop. The vertical distance between them is 166 and the horizontal distance is 276

1662 + 2762

num-sqrt​(​num-sqr​(​166​) + num-sqr​(​276​)​)

Screenshot of a sewer game. A right triangle connects a two characters. The horizontal distance between them is 194 and the diagonal distance is 276

2762 - 1942

num-sqrt​(​num-sqr​(​276​) - num-sqr​(​194​)​)

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.