This is a ping pong game which was developed for a school project.
You can play :
- against either the IA or other players by creating an online game.
- using either the mouse or keypad.
Steps to create an online game :
- Player 1 : Create a room and choose for the number of players, 2 or 4.
- Other players : Join the room by giving the room id.
- Start the game by entering the spacebar or by clicking on the start button.
- The winner is the first to have 6 points.
In the project directory, you can :
- Use npm package manager:
npm install
# You can also start the project with nodemon
npm start
- Use Docker :
docker-compose build
docker-compose up
Open http://localhost:8080 to view it in the browser.
- HTML5 (Canvas)
- CSS3
- Node JS (Express JS)
- Socket.IO
- Docker