Gaming

Articles about multiplayer game development, from player state sync to social features like chat.

Building a Multiplayer Hangman Game for iOS in Swift
GamingMar 7, 2017

Building a Multiplayer Hangman Game for iOS in Swift

With the launch of PubNub BLOCKS last year, PubNub extended its functionality to enable you to execute functions on your data streaming over the PubNub network. And it fits in great with simple turn-based multiplayer games for both web and mobile. In this tutorial, we’ll walk you through a simple...
Michael Carroll
Michael Carroll
Syncing State: Building a Basic JavaScript Multiplayer Game
GamingJun 22, 2015

Syncing State: Building a Basic JavaScript Multiplayer Game

How to build a basic JavaScript multiplayer game, where user moves are synced in real time as the player makes a move.

Michael Carroll
Michael Carroll
Turn Your Phone into a Motion Controller with Polymer
GamingJun 17, 2015

Turn Your Phone into a Motion Controller with Polymer

How to turn your phone into a motion controller to control actions in real time to interact with a web browser game. It’s a DIY Nintendo Wiimote clone!

Michael Carroll
Michael Carroll
What JavaScript Programmers Can Learn from Game Devs
GamingMar 16, 2015

What JavaScript Programmers Can Learn from Game Devs

In this talk, Hunter Loftis discusses 3 ways Javascript devs can learn from the game dev community: minimizing and isolating state, enforcing deterministic rendering, and separating rendering and simulation.

Michael Carroll
Michael Carroll
Broadcasting In-Game Notifications for Multiplayer Games
GamingJan 13, 2015

Broadcasting In-Game Notifications for Multiplayer Games

This blog post/tutorial features Rect Rangle is a browser-based game using HTML5 and JavaScript, that uses PubNub for in-game notifications.

Developer Relations Team
Developer Relations Team
Peer-to-Peer Lockstep for Multiplayer Communication
GamingDec 9, 2014

Peer-to-Peer Lockstep for Multiplayer Communication

Robot Onslaught is a multiplayer game that uses PubNub to power and sync all peer-to-peer lockstep to ensure accurate, real-time player position.

Developer Relations Team
Developer Relations Team
Building a Browser-based Game w/ a Phone Controller
GamingNov 12, 2014

Building a Browser-based Game w/ a Phone Controller

This tutorial shows you how to build a second screen game in a web browser with JavaScript that uses a phone as a controller.

Michael Carroll
Michael Carroll
Simple 3D Multiplayer Game in the Browser
GamingSep 23, 2014

Simple 3D Multiplayer Game in the Browser

Code and demo for building a simple, 3D multiplayer real-time chess game in the browser that syncs player position across multiple devices.

Developer Relations Team
Developer Relations Team
4 Real-time Elements Every Multiplayer Game Dev Needs
GamingSep 10, 2014

4 Real-time Elements Every Multiplayer Game Dev Needs

This blog has four real-time elements that every multiplayer game dev needs including player position, lockstep, in-game chat, matchmaking, and real-time stats

Michael Carroll
Michael Carroll