For this project, I made a little submarine-type game. I admittedly didn’t worry too much about how it looked, focusing moreso on making the game itself semi-engaging. For this game, the player pilots a submarine through obstacles in an attempt to reach the other side. If they collide with the obstacles, lights flash an “explosion” sequence and the game resets.
Click Here for P5.js code