← Back to all games

Example .io Game

A minimal example .io game demonstrating server-authoritative logic, client interpolation and other multiplayer essentials.

WASD to move, mouse to aim and shoot. Open in new tab ↗

Source

vzhou842/example-.io-game

License

MIT

Stars

★ 452

Size

~200KB-1MB

Tech

Node.js · Socket.IO · Canvas

Deploy

Needs server

How to play

The sample itself is a small multiplayer arena: roam with WASD, shoot with the mouse, and score points by taking out other players.

WASD to move, mouse to aim and shoot.

Integration notes

Not a finished game but a skeleton that shows how .io games are built. When your site outgrows single-player, starting from this beats reinventing the wheel.

#node-js#socket-io#canvas#mouse

FAQ

Is Example .io Game free to play?

Yes. Example .io Game is completely free, runs in your browser, and needs no install or account.

Is Example .io Game open source?

Yes. It hosts the original open-source code by vzhou842, released under MIT. Source: https://github.com/vzhou842/example-.io-game

How do you play Example .io Game?

WASD to move, mouse to aim and shoot.

More like this