A toy browser game that implements peer-to-peer rollback netcode.
Play it here: https://mitxela.com/pong
Writeup about the development of it: https://mitxela.com/projects/webrtc-pong
Possible further features to add
- Option to horizontally mirror screen when on mobile, in case your finger is in the way
- Sound, bleeps and bloops as it bounces
- End game or score target
- Option to change field size or paddle size
- Powerups