top of page
Search
  • Writer's pictureRyan Ramcharan

Midterm Project

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.


3 views0 comments

Recent Posts

See All

Final project

https://editor.p5js.org/yoyoganesh32/sketches/tBvFFZ4P_ It is a robot that say's certain things when you press the button, 1-9, to make it stop talking you can press 0. I tried to make it have somewha

Assignment#8

https://www.tinkercad.com/things/fLtKmdw1xkI-assignment-8/editel I tried making one LEDs light up while the other LED is off and when you push the button the LED that was off will turn on and then the

Objects

In my code I have an array of words bouncing around the screen. I tried to add another text but i was unable to do so. Here is my code down below. \ LINK: https://editor.p5js.org/yoyoganesh32/sketches

Post: Blog2_Post
bottom of page