top of page
  • Writer's pictureKay

PComp IX: Maze game

I’m truly proud of the work me and Wendy Wang have done so far. We created a maze, connected the joystick to it and make it playable by ensuring that the player cannot go through the walls. It doesn’t seem as much, but it took us 2 weeks. And until a day before the presentation the code wasn’t working. But we didn’t give up and worked together even though our responsibilities were separated. I was responsible for the joystick and sounds, while Wendy was working on the maze and prototyping. But because we didn’t have time to add sounds, I did a sketch instead to show the possible use of sounds for every direction that I extracted from Pauline Anna Storm music.

Video of working maze and joystick controller

Sketch demonstrating sounds for directions and a piece of p5 sketch


You can see a maze being randomly generated at: https://editor.p5js.org/wwendy/present/3Muw84qNU


My reflection on collaboration:

Our process was hard, but we managed to create a pcomp project that works for both of us! This collaboration is incredible to me, as despite being in different countries with 13 hours time difference, we managed to communicate easily. However, we both encountered problems due to this situation.

One of the largest problems was when we started to combine my code for the joystick with Wendy’s code of the maze. We had so many different variables and frankly it was a disaster. I like to think that we’ve learned from it and we will try to work on code together further on. Our directions of the project also changed with time, as originally we wanted to use the speakers. But p5 allowed more flexibility, so now we have to figure out the code. The main advantage of such collaboration was much less stress experienced because I’ve never felt like I’m alone with the problem.



Housing made by Wendy


Future aims:

  • Add sounds to the project, so that the user understands the available openings depending on the sounds they hear;

  • Make the ellipse move slower;

  • Develop the project further to satisfy the requirements for the third pcomp project;

Credits and references:

  • Several residents and teachers that supported us at one point or another: Rashida Kamal, David Rios, Yeseul Song, August Luhrs, Arnab Chakravarty. Even though we ended up redoing the code, I’m still grateful for their help! I also want to thank Gabriel Barcia-Colombo for providing resources that helped me to find the music we’re using in this project.

  • Music by Pauline Anna Storm;

  • Developed Arduino code that was given in the lab;

  • Random maze generator code based on this coding challenge tutorial on The Coding Train;

  • Housing image adapted from MC Escher's Day and Night ( 1938);

Happy cheering because of the working sketch

8 views0 comments

Recent Posts

See All
bottom of page