This is demo code to accompany the SitePoint article "Building a Game with ReactJS and WebGL"
npm install npm start
This basic example follows the Presentational and Container Components example. The logic is managed in GameContainer in the
containers/ directory. The view code, game entitites, etc, live in
The game logic is separated entirely from react and managed with the reducer functions in the
The game state is set once per
requesetAnimationFrame callback in
This project use Babel, Webpack, and ESLint for ES6 syntax, asset management and code quality tools.