Semester Project – Kaitlyn & Nathaniel

The project is a race between four Norse Gods (Loki, Odin, Thor, and Skadi). The gods randomly move forward 0.01 to 0.09 of the total distance and have a 1/4 chance of disappearing and not moving that turn. We used a while loop to keep them going until someone won the race, and used variables to determine whether they disappeared or not.

Semester Project
Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *