Realtime Multiplayer Space Invaders Game with Phaser 3 and Ably
This project runs a realtime multiplayer version of the classic retro game, Space Invaders.
You will require an Ably API Key, to run this demo, sign-up for FREE account
npm install
to install the dependencies.env-sample
to .env
, then edit the file and add your Ably API key and prefered PORT (default 8080).MIN_PLAYERS_TO_START_GAME
to enforce a minimum number of players. (see server-worker.js
)node server.js
and then open a brower to localhost:8080
Read the full blog post series on dev.to.
Please reach out to me on Twitter for any questions, or follow us @ablyrealtime