This was the second year I participated in the Okanagan Engineering Competition. This year we were given the challenge to re-imagine a classic board game. For this we chose battleships and decided to mix it up by adding networking to the game. We were given 5 hours to complete the challenge.
The Game
We decided to use Next.js to build the game UI and TailwindCSS to style the game. For networking, we used Socket.io which shared the game state between two players. A main socket server handled the networking and connectivity between the two players. This was the second time I used Socket.io as I had previously used it in the Self Driving Car Project. This was a great learning experience for me as I was able to learn a lot about how to use Socket.io to build real-time applications.
We Won Second Place
We were able to finish the game and win second place in the competition. If I got the chance to do this again, I would have liked to make a bigger twist on the game and add more features as I felt that this is the main reason we didn’t win first place. I actually used a lot of the knowledge I gained in this competition for my future projects such as the Equation of Motion Solver where the styling was done in TailwindCSS.
Software Utilized