This project demonstrates the use of the socket.io library. The game mechanics are simple: Each turn, you can choose to pick 1 to 3 available markers. The player who picks the last marker loses.
Explore the live demo here: Markers Demo.,
if the demo is not working (most probably, since I will not have the AWS instance run forever) clone the repository, and execute:
npm install
cd server && npm run start
cd client && npm run dev
Then open http://localhost:5173 (the port may vary; check the output of the last command) and connect to a game using two different browsers.