For this project I decided to make a timer game using the the sensors lights and the A and B buttons on the CPX. To do this I borrowed some code from the makecode community and made some modifications to it to fit my needs. I taped the CPX to the top of an old lid that I found to support the CPX and to give it some support. On the construction side it was very minimal. However I felt that in order to enjoy the game to its fullest the CPX needed to be fully exposed so the player can know what buttons or sensors to press or touch.
How the game works is there are four lights in total a red light, blue light, green light and yellow light. When the player touches button a the ba ding sound activates and the red light appears and begins counting down. When the b button is pressed the pew pew sound is played and the blue light appears. When A2 is touched the jump up sound plays and the green light appears and when A5 is touched the magic wand sound plays and the yellow color appears. If no button is pressed by the time the selected color fills the CPX the wa wa wa sound plays and the game is reset. I decreased the timer as well to make it a little more challenging.
Comments
Please log in or sign up to comment.