Epic multiplayer pong
-
clone the repo
git clone https://github.com/thykka/paddlebois.git cd paddlebois
-
use the right node version
- install nvm
- install node
nvm use .
-
install project deps
npm i
-
start server & watch for changes
npm run start
-
open the client
- Implement basic game mechanics
- Player state class
- Game state class
- client: Player setup (input for nickname, avatar?)
- server: Global state (list of games & players, etc.)
- Game setup on websocket connection
- Player management
- Games management (starting & joining games)
- Paddle class
- Paddle movement
- Ball class
- Ball movement & collisions
- Input handling (client)
- Input handling (server)
- Touch input handling
- ...
- Graphics & UI
- Paddle
- Ball
- ...
- WebGL/Three.js?
- Particle system