Midterm Project
- Ryan Ramcharan
- Oct 27, 2020
- 1 min read
Updated: Oct 29, 2020
In my code, the car would have to move around the screen and avoid the balls that are on the screen. My intentions were to have a run away from the cops type of game. The three balls, red,blue, and white are the cops, and the car would have to avoid them. I was going to set a timer for how long, the car would be able to run away, and i had a rest button, so when the timer finishes you can press the reset button, and it would set the speed at a different rate. When the ball hit the car the game would be over but I didn't figure it out how to do that as yet. To move the car you can press and hold the arrow keys. Another thing that i haven’t finished yet was that the ball only bounces off, the side of the car.
Comments