A TBS game boilerplate in React.
It use create-react-app for creating the repository.
- Use canvas for creating the main game stage.
- Use react component for all the UI stuff.
- Use redux to manager all the data (no react-redux), in each component there are :
actions
: a reference used for firing actions.store
: store game data like unit information.canvas
: store canvas related data like camera.
- You can enable devTools by
control + H
, which may be configured withsrc/helper/DevTool.js
yarn install
yarn start