Skip to content

Source code structure

Kamil Noga edited this page Mar 27, 2018 · 12 revisions

/src - all source code

/src/js - every building block of the application ui

/src/js/api - everything related to api requests

/src/js/app - singletons connected to Redux store that can dispatch actions

/src/js/pages - Redux aware components that get mounted on a specific route enter

/src/js/engines - separate games inheriting from Game component and also Redux aware

/src/js/gameOptions - single engine configuration components

/src/js/game - everything that can be used by multiple engines

/src/js/other - dumb components reusable across different applications

Clone this wiki locally