IO Games

2 min. read

IO Games

.io Games has become a nice game genre on its own.

The IO in programming terms, means Input Output

Typical Requirements
Low Latency
Accept and Send out many packets
Keep all players in sync

When do we send a packet:
Packet on Key Press
Packet on Timer
Packet on Server Event

Game Servers

Game logic happens in server
Handle Player Input
Handle Physics

Use Typed Arrays instead of JSON

How to Create .IO Games
Tech Talk: .io Game Server Architecture

http://buildnewgames.com/real-time-multiplayer/

http://buildnewgames.com/optimizing-websockets-bandwidth/

Modern Web Game Development Google I/O’19

1- Making Multiplayer HTML5 Game: Setup & Sending Files. NodeJs Tutorial Guide

I Made a Fake Multiplayer .io Game

[Using Socket.io to Create a Multiplayer Game with Angular and Node.js

](https://www.youtube.com/watch?v=SZcY8cB8nhQ)

https://www.gamedesigning.org/learn/io-game/

https://victorzhou.com/blog/build-an-io-game-part-1/

Coding Challenge #32.1: Agar.io - Part 1 Basic Game Mechanics

Coding Challenge #32.2: Agar.io - Part 2 Networking with Socket.IO and Node.js

https://victorzhou.com/blog/build-an-io-game-part-1/

https://www.freecodecamp.org/news/how-to-build-a-multiplayer-card-game-with-phaser-3-express-and-socket-io/

https://github.com/topics/io-game

https://github.com/vzhou842/example-.io-game

https://medium.com/@ktamura_74189/how-to-build-a-real-time-multiplayer-game-using-only-firebase-as-a-backend-b5bb805c6543

https://medium.com/@n.srushtika/building-a-realtime-multiplayer-browser-game-in-less-than-a-day-part-1-4-4ff35dd44715

https://medium.com/@n.srushtika/building-a-realtime-multiplayer-browser-game-in-less-than-a-day-part-2-4-f1f109761cf3

https://medium.com/@n.srushtika/building-a-realtime-multiplayer-browser-game-in-less-than-a-day-part-3-4-ede95eb924a0

https://medium.com/@n.srushtika/building-a-realtime-multiplayer-browser-game-in-less-than-a-day-part-4-4-67955b3cbbc3

https://github.com/Srushtika/realtime-multiplayer-space-invaders

https://www.slideshare.net/AmazonWebServices/gdc-deck-1