/template-js-game

Personal template for ES6-based games

Primary LanguageHTML

template-js-game

Personal template for ES6-based games

Usage

Setup

  git clone -o template-origin git@github.com:zole/template-js-game.git $PROJECT_NAME
  cd $PROJECT_NAME
  # Create a working branch
  git checkout -b main
  # add submodule dependencies, if available
  git submodule update --init

Update the template for other projects

  git pull templ template
  git switch template
  git cherry-pick <commit hash>
  git push templ  # if you are me

Pick up changes from the template for a project

  git switch template
  git pull templ
  git switch main
  git rebase -i template  # and good luck to you