top of page
Search
  • Writer's picturegeorge Bush

Corona-cation Reflection #5

This week on TalentBox, the video focused on adding an enemy into the turtle game. We added in a snake. The snake was programmed to turn 30% of the time and when it reached the "edge of the world", it would turn 360*. We also programmed it to have a speed 3x that of the turtle.


In the next video, we put the snake in the actual game, at first it just went right over the turtle and did not interact with anything but the wall. So we programmed it so that when it touched the turtle, it would make a noise and the game would restart. We had to go into the Green-foot website to find the specific syntax for the code. I feel like these lessons are trying to teach me the reasoning of Java and not the actual specific syntax that I would use in the future.

0 views0 comments

Recent Posts

See All
bottom of page