Ably Developer Portal

Building a bridge simulator game with realtime Slack alerts via IFTTT

Building a bridge simulator game with realtime Slack alerts via IFTTT

The Ably Reactor provides a way to trigger events and to stream data from Ably’s pub/sub channels. This tutorial goes over how to use the Ably Reactor with the IfThisThenThat Webhooks service. IfThisThenThat (IFTTT) allows you to create chains of conditional statements called Applets. These Applets can be triggered by events on your Ably Channel. They in turn can trigger other web services such as email, social media, chat apps, IoT devices etc.

In this specific example we’ll be using IFTTT to trigger a post to a Slack channel every time a message is published on your Ably channel.

We’ll be building a bridge simulator game using HTML, CSS, JavaScript and Reactor Events. Players will receive commands from their “captain” via Slack. These commands will let them know what to press in the game to move to the next command. Clicking the controls that match the commands will win them the game, mistakes will lose and crash the spaceship.

Find the team online: