PlayDealLegacy is an online multiplayer card game where players attempt to collect a set number of cards to win. This project was built using React, RxJs, Node.js, and SocketIO.
Built with React, RxJs, NodeJs & SocketIO This was a passion project created during the COVID-19 quarantine. This was my first React, NodeJs, SocketIO project and first time making a multiplayer game, so the game was not architected very cleanly. I have decided to rewrite this game again given what I have learned. Please see https://github.com/ruttyj/PlayDeal/
Before you begin, ensure you have the following installed on your system:
- Node.js (v14 or v16 recommended)
- npm (comes with Node.js)
- nvm (Node Version Manager) (optional but recommended for managing Node.js versions)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
- Reboot terminal
- Run the following commands
nvm install 14
nvm use 14
Install packages
npm install
Run in development mode: Note the project will run on port 3001 by default
npm run dev
Please note that the game will run on http://localhost:3001/
Here is the video which was followed: https://www.youtube.com/watch?v=fJ4x00SR7vo