Inspiration

I wanted to learn something new so I decided to work with websockets for the first time and I put them to use by creating a proper implementation of an old scratch project I made many years ago.

What it does

You click to make progress towards the current box and as time goes on the boxes take more and more clicks to open. Progress is shared globally and updates happen in real-time.

How we built it

The multiplayer functionality of this project is achieved with websockets. The actual project was made with spring and hosted on a server using nginx and apache tomcat. Additionally, progress is regularly written out to a file to ensure that the score can be saved even if the server goes offline momentarily.

Challenges we ran into

Something that I did not originally consider is the fact that the .dev tld forces the use of https, which made prototyping at the beginning much more challenging as I was not sure which parts of my configuration were incorrect.

Accomplishments that we're proud of

The fact that it works (at least for now). Also the UI turned out better than I thought it would.

What we learned

Website configuration, websockets, html/css/js practice

What's next for Boxes

Who will open the one millionth box??!/1

Share this project:

Updates