Last week we just learn how to connect Arduino with P5js, and transfer data through wires. And the challenge is to create a one button application. Since I have already known how to use the joystick, I used it to control a simple escaping game.
It’s a simple game that many balls will fly everywhere continuously. So your job is to control your small Mike escape from hitting by the balls. Once a ball hit your Mike, you’re dead.
Here is the video: