Student Projects: Code Battle
Want to learn to code while having fun? Challenge your friends to a Code Battle! Whoever completes the coding challenges fastest is rewarded with a win and advances in rank. CodeBattle is designed to prepare students for success in the rigorous Fullstack Code Academy program.
Code Battles runs on the NERP stack of Node, Express, React-Redux, and Postgres which allows us to easily handle asynchronous programming as well as run Javascript directly on our backend. React-Redux allows us to manage a lot of the game state easily and efficiently.
Since our site required real-time updates when a player gets a question correct, we used Socket.io to run a large portion of the game logic. Since it would be extremely risky to run user submitted code directly on our server, we used Docker to create small isolated instances of Node environments that will execute user’s code and Babel to transpile the code so users could use ES6 if desired.
----
Fullstack Academy was recently ranked the #1 coding bootcamp in the U.S. Learn more at https://www.fullstackacademy.com.