Skip to content

drusepth/Multipong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--------------------------------------------------
- README
--------------------------------------------------

Multiplayer pong!

We assume that users will not cheat

Frontend
--------------------------------------------------

JSON messages:

all don't strictly need the player field, can infer from server side

Leaves a screen
{type:"screen", player:#id, direction:"left" or "right" or "topo", 
 location:{x:#, y:#}, velocity:{x:#,y:#}, geometry:{w:#,h:#}}
Bounces
{type:"bounce", player:#id, velocity:{x:#,y:#}}
End Game
{type:"drop", player:#id}
Score change
{type:"score", player:#id, score:#}

About

Pong played over multiple, side-by-side monitors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published