Meat Fighter 2 Turbo

Alan Shaw
@_alanshaw
http://tableflip.io
JavaScript Adventure Club

An experiment with meteor and websockets.

I wanted to see if I could build a game with Meteor.

SSID:
Makers Academy

Open:
http://192.168.50.105:1337

Make with socket.io

                   +---> client
                   |
client ---> server +---> client
                   |
                   +---> client

I envisioned an Meteor version like this:

                   \  |  /
client            - MAGIC -       +---> client
 |                 /  |  \        |
 |                                +---> client
 +---> Players                    |
                                  +---> client

SSID:
Makers Academy

Open:
http://192.168.50.105:3000

I figured:

What I ended up doing:

Any ideas why websockets outperform meteor in this case?

Theories:

Caveats apply:

Could you write a game in Meteor?

Thank you!

github.com/alanshaw/meat-fighter-2-turbo
@_alanshaw