Final Project

Final Edit ( Spring Bling Pong Game)

My Final project was pretty much a player one type of ping pong game its consisted of many different colors. what I found difficult was getting the ball to randomly change colors when it bounce of the ping pong table. Overall I enjoyed recreating my type of code using some one else p5 code as an example.

Final Project

For My Final Project I will re creating a basketball using p5 js and micro bit. It will consist of moving the micro bit to be able to make a jump shot and score points. to increase your points you will have to make multiple jumpsuits before the shot clock runs out.


P5JS Assignment 1

When I originally began the attracting on P5JS class, everything seemed well and good and I began to make something. I didn’t complete in class so I expected to keep on taking a shot at it at home. When I downloaded very similar things we downloaded in class, nothing was working. There was no vacant guide to utilize, and in the event that I reordered the code from Professor Hagan’s site into superb despite everything it wouldn’t do anything. I don’t know whether I accomplished something incorrectly or not, yet I do trust I did likewise as we did in class. I am going to endeavor to go to class somewhat ahead of schedule to finish my unique illustration.

Midterm Update

In conclusion I was able to complete the model of the traffic light. In creating this traffic light I had used cardboard. I had to cut the cardboard into the right shapes so i can then glue them together to create the traffic light. An error I made in creating this traffic light was i didn’t block off the Led lights from one other so when one a Led Light flashes you can see the glare of the color in the other holes of the traffic light model as shown in the picture above.

Assignment #4

This week In class we added a third external button to our micro bit. In class when we added the button we also began using booleans which allow us to make one bit of code true or false when another bit of code is working. Our example code allowed us to push our external button to either a t or f,

Assignment #5

At first I was having trouble with the wiring because the speaker wasn’t giving me any sound

The reason for my speaker not giving me sound because I had forgot to download the program to the microbit the pictures above basically illustrate the different ways I had wired the speaker to the microbit

Assignment #3

I created flashing lights in different colors using the microbit. I’ve created a program using microbit to flash two LED then use the A button for one light and B button to turn on the other light without flashing. When you press both A and B you turn both of them off. This project was yet another fun project. We created the program by using the conditional statement which was pretty cool. I enjoyed because i learned it last semester so it was easy to me. The hardest thing about the whole project is was getting the lights to work. I was having trouble getting the second to turn on but it turned out I just had the moved the wires over and and it turned out to be great. I can’t wait to do more projects.