webrtc-pong

Peer-to-peer Pong
git clone https://git.mitxela.com/webrtc-pong.git
Log | Files | Refs | README

Branches

Name Last commit date Author
master2021-12-12 21:21:00 +0000mitxela
motionblur2021-11-23 14:36:10 +0000mitxela
paddle-rewrite2021-11-26 19:51:36 +0000mitxela

File Tree (HEAD)

Name Size
DC.js2.838K
pong.htm17.43K
readme.md447B
rtcPong.sql1.002K
signal.php1.461K

History

* 4715b35 (HEAD -> master) | mitxela 2021-12-12 21:21 | add readme | * 182c241 | mitxela 2021-12-12 21:15 | add sql structure | * 7268b5a | mitxela 2021-12-12 20:27 | Move DC.log into main file, try and make the separation a bit clearer | * 20f1be8 | mitxela 2021-12-12 20:24 | Basic check to ensure both players are running the same version | * f5f4dcb | mitxela 2021-12-12 12:38 | Add glow effect, hopefully not too obnoxious | * d99fadc | mitxela 2021-12-12 12:37 | Remove debug eval | * a08a703 | mitxela 2021-12-12 12:37 | Pointless intro animation | * 8b61ce8 | mitxela 2021-11-27 17:47 | fix id choice logic | * e9846e1 | mitxela 2021-11-27 17:24 | fixes for deployment | * ac1c73d | mitxela 2021-11-27 13:24 | better ID collision protection | * 23d10d9 | mitxela 2021-11-27 13:03 | minor ID collision prevention | * adf5b4c | mitxela 2021-11-27 12:37 | improve connection reliability | * 24460f7 | mitxela 2021-11-27 12:37 | ball speed selector | * 39051bb | mitxela 2021-11-26 19:57 | fix vertical collision conditions | | * 2f6311c (paddle-rewrite) |/ mitxela 2021-11-26 19:51 | pointless fiddling with paddle physics | * 4e328c0 | mitxela 2021-11-26 16:22 | limit auto buffersize to 5, improve framerate averaging | * 8dc4be1 | mitxela 2021-11-26 15:57 | improve stats | * 3ca556d | mitxela 2021-11-26 00:44 | frameNumber is not part of rollback state | * bf32ca6 | mitxela 2021-11-25 23:34 | more mobile muck | * fe6b4e8 | mitxela 2021-11-25 23:10 | Endless attempts to add an escape route for zoomed in scrolling on mobile | * 49eabcd | mitxela 2021-11-25 22:26 | Pointless animation at start | * 2713aca | mitxela 2021-11-25 20:25 | Revert touch action stuff | * d59721c | mitxela 2021-11-25 20:22 | night mode olololo | * 500aa64 | mitxela 2021-11-25 19:05 | centre align and move graphs underneath | * 5579498 | mitxela 2021-11-25 15:59 | scale correctly and improve touch handling | * cd88a12 | mitxela 2021-11-25 12:20 | Add horrible logging to make debugging connection on phones easier | * dba130d | mitxela 2021-11-25 11:09 | Store/reuse ID in URL hash | * 8f1358d | mitxela 2021-11-24 15:56 | synctick always on | * 799e5ce | mitxela 2021-11-24 15:54 | buffer size selection box | * da887df | mitxela 2021-11-24 15:38 | conservative auto buffersize | * 2208514 | mitxela 2021-11-24 12:25 | cleanup + theoretical fix for ball getting stuck | * c119885 | mitxela 2021-11-24 11:13 | Fix id gen/check | * b665318 | mitxela 2021-11-24 11:13 | monitor display FPS | * 043c061 | mitxela 2021-11-23 18:43 | touch support | * 1d4b7ac | mitxela 2021-11-23 16:38 | Rollback | | * 9e0b268 (motionblur) |/ mitxela 2021-11-23 14:36 | motion blur attempt | * cb7eeb2 | mitxela 2021-11-23 13:40 | Synctick part 1 | * 9508ddc | mitxela 2021-11-22 22:57 | fixes and score | * 8a3c388 | mitxela 2021-11-19 17:40 | plot framesync | * 94f3b72 | mitxela 2021-11-19 00:07 | grid stuff, investigate framesync | * 3f6a2ff | mitxela 2021-11-18 20:33 | Better collisions | * c57837a | mitxela 2021-11-18 19:07 | rng and basic ball movement | * cc30070 | mitxela 2021-11-18 17:46 | More graph stuff | * 19c5942 | mitxela 2021-11-18 15:45 | stats | * b098336 | mitxela 2021-11-18 10:18 | better stats | * 4025007 | mitxela 2021-11-18 10:13 | unbelievable | * e0a2d45 | mitxela 2021-11-17 14:16 | plots | * 3a6731d | mitxela 2021-11-17 13:43 | Compensate if settimeout was delayed by more than a frame | * 40975f0 | mitxela 2021-11-17 12:37 | timing drift compensation | * e78e702 | mitxela 2021-11-16 23:39 | cleanup | * 166cd8d | mitxela 2021-11-16 23:38 | Initial pong prototype | * 0aa10d6 | mitxela 2021-11-16 23:38 | file transfers | * eed0070 mitxela 2021-11-16 23:37 chat demo

Contents of readme.md:

WebRTC Pong

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