I wanted to make an application that two people could access at the same time from different browsers. Players must try to put the garbage scattered in the correct bins and for each hit, one point is added to each player's score at the top of the screen. I used the Socket.IO library to make this real time application.
Learn how to implement Socket.IO library in the project :)
- JavaScript
- HTML
- CSS
- React
- Styled Components
- Clone the repository on your machine
- In the terminal, install the application's dependencies:
npm install
- In the server folder run
npm run server
- In the project´s root folder run:
npm start