Two player online game of UNO. Made using React and Socket.IO
Update: I have run out of Heroku credits and can no longer continue to keep the game deployed. Feel free to clone the repo and run it locally on your machine. Thanks!
UNO is the classic and beloved card game thatโs easy to pick up and impossible to put down! Players take turns matching a card in their hand with the current card shown on top of the deck either by color or number. Special action cards deliver game-changing moments as they each perform a function to help you defeat your opponents. These include skips, reverses, draw twos, color-changing wild and draw four wild cards.
Read the complete rules of UNO here.
This two-player online version of the game was built with React, Socket.IO, Express and Node. It currently supports two-players in each game. It also has text chat functionality to communicate with your opponent!
Follow the steps below, after cloning the repository:
For Installing:
For Running:
client/src/components/Game.js
and change line #26 from const ENDPOINT = 'https://uno-online-multiplayer.herokuapp.com/'
to const ENDPOINT = 'http://localhost:5000'
npm install
This command installs all the server-side dependencies needed for the game to run locally.
npm start
This command gets the server running on localhost port 5000.
cd client
npm install
This command installs all the client-side dependencies needed for the game to run locally.
npm start
This command gets the client running on localhost port 3000.
Head over to http://localhost:3000/ and enjoy the game! ๐
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. The Issues tab is a good place to begin!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)