Multiplayer word chaining game using angular.js and firebase