Stackathon Presentation: Fullstack Plays
DEMO CODE: https://github.com/ptrkkim/stackathon
Using React, Socket.io, and Redux, Patrick created an app where users can chat and make in-game decisions as a mob.
The chat includes features like renaming, recoloring, and Fullstack-themed emotes to promote a fast-evolving mob culture founded on anonymity.
The game works by synchronizing a server-side redux store representing game state with the front-end redux stores of every connected client. Valid game commands are delivered to the backend via chat and websockets, and are accumulated over a time window. On every tick of the game, the most popular command is used to update the state of the game, and the new state of the game is sent out to every connected client.
In combination, these features helped to create a fun, collaborative experience in the spirit of Twitch.tv's 'Twitch Plays Pokemon!'
----
Fullstack Academy was recently ranked the #1 coding bootcamp in the U.S. Learn more at https://www.fullstackacademy.com