Journal Entry #8: 07/20/2015-07/24/2015


Understanding the interaction between the objects created in the field. Creating the code for the objects so that the object bounces off the opposite objects. I used an Elm example called Hero. I modified that program with the help of my mentor to understand the interaction among the objects. The program itself just allowed the “hero” walk around using the arrow keys. In which, I created black circles and placed them randomly into the program. When the hero walks across the circle object, the object should then disappear, and give the player points after hitting each black circle. The example of this program is provided below.

Hero Example