Projects
Tic Tac Toe

As part of our coursework for our Networking class, my classmate Annie Martin and I developed a multiplayer Tic Tac Toe game designed to run over the school's network using Node.js and Websockets. This project aimed to apply our understanding of network programming to create a real-time, interactive application. The server-side logic of the game was programmed to handle the essential game functions and rules, while the client-side code facilitated user interactions and communicated with the server to update game states dynamically.
Our implementation allowed multiple pairs of players to engage simultaneously without crossover, each pair playing in an isolated game instance. This was made possible by creating a new game session for every two participants that connected, assigning 'X' and 'O' respectively to the first and second player to join. The game tracks each session's scores, wins, and ties, updating these statistics in real-time, which introduced a competitive element and improved user engagement.
This project not only reinforced our skills in JavaScript and Node.js but also deepened our understanding of using Websockets for live data transmission, a critical component in developing responsive web applications. Managing multiple game instances while ensuring consistent performance across sessions posed significant challenges but ultimately enhanced our capability to build and debug networked systems. This experience has prepared us for more advanced projects in network programming and real-time system design.


04-12-24 @ 7:19:51 PM