Our development team at AgilityFeat loves working with PubNub for many of our realtime applications, and we also love agile development methods. So why not combine the two?
That’s what we did in this realtime game for agile/lean teams that we’re calling Remotely Flipped. It’s a multiplayer, online version of the popular agile/lean game called penny flipping or pass the pennies, which is often used to educate teams on the value of doing work in small batches.
This video gives you a short overview of the concept and the game that we built:
We built the application in Clojure. We used PubNub to glue the multiplayer game together, for communications between the different players to keep the status of the coins in sync across multiple browsers. When a user makes a move, their move is reflected in realtime across all other connected browsers.
This allows an agile trainer to setup a game with four participants, and then the players have to “pass” the coins through all 4 players online.
Resources and Getting Started
The concept of the game is pretty simple, and PubNub makes implementation of realtime games like this a lot simpler. The game itself only took a few days to implement because we didn’t have to worry about any of the infrastructure behind the messaging … PubNub has us covered there!