contest

web platform

html

css

javascript

svg

canvas 2d

webgl

categories

desktop

mobile

server

a-frame

Spacefield League

Multiplayer online ball game

Game Features

architecture

server

code

room

room state

patches

client

client updates

  1. user press a key
  2. websocket sends an event
  3. server update player status
  4. server update game status
  5. server sends a patch to clients
  6. clients move the dom element

client problem

missing client predictions

css variables

demo

clip-path

demo

css filters

demo

animation api

demo

speech

demo

sounds

jsfxr library

demo

music

Web Audio API

demo

viewport relative units

build

deploy

heroku - auto deploy github repo

compression

final package contents

uncompressed

what went bad

what went good

result

thanks

js13k competition game page