top of page

Connections Lab: Project 2 Reflection

Writer: Alexis SandersAlexis Sanders

Key Concepts and Intentions

Initially for project 2, I wanted to create a collaborative Pong game where you could create a room just for the two people playing. I started to set up the pong game, but I wasn't able to figure out the p5 play library in time. I would have had to erase most of the code and start it over to use the library the way I needed, especially because of unexpected time constraints I had occur. I decided to use this game for my final project since I would have more time to work on it.

I then had to quickly figure out something to create. I decided to go with something a little easier to code and worked on a collaborative coloring book where users could collectively draw on the canvas using the mouse. I wanted to change the cursor image so that whoever longs on, it will show the country's flag of where the person is located and have a certain color that they would draw with. I wasn't able to change the cursor image, so I just decided to let people choose their own color and have the ability to change it. It took some time to figure out how to send the radio button data through socket.io and make sure everyone could see the colors, but eventually I was able to make that work.

The next thing I wanted to add was a button that would change the image in the background. Since the button was so last minute, I wasn't able to get the code to work the way I wanted to, so there is only the one image, but I definitely want to refine this project some more and work on a button to change the image and the ability to change the cursor image.


Major Challenges

I had a lot of challenges in the beginning trying to use the p5 play library after already doing some code which didn't work out the way I wanted. This is part of the reason that I had a lot of trouble in the beginning. I think I want to explore this project more for my final project because I think this can make an interesting concept once it's complete. I also ran into some unexpected time constraints due to family that cut the amount of time I had to work on the project so I wasn't able to explore everything I wanted to for project 2. There is also a big glitch in the project in which I was never able to figure out. While it it collaborative and multiple people can be on it at once, there is a long delay where you can't draw on the app for a minute while everything loads, but once it does it works fine.


Resources/References

Link to GitHub Repo: here

Link to Project Demo: here

Comments


bottom of page