In chapter 10, I learned about game physics. Very similar to real physics, but much more flexible since you don't have to follow any real life laws. Some things are also simplified, such as gravity just being positive acceleration downwards. In this game I made for the chapter 10 activity, there are two players. The goal is to hit the opposing player with a snowball and you win. Using very simple physics code, I can aim how high or how low I want to aim the ball, and I can hold down the space bar which will increase how much strength the player will use for each throw. I included my source code and a video below.
Source Code
Source Code