Skip to main content
    Learn More

    Code Battle

    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 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.

    Project Members: Patryk Chmura, Mitch Kosowski, Ming Tung Wong, John Yom