Skip to content
Aaron Gonzalez edited this page Mar 9, 2018 · 7 revisions

Dragster

A drag racing game based on phaser.js, running on node.

Index

Technology stack

  • Server: NodeJS & express ^4.15.2
  • Game engine: Phaser ^2.7.5
  • Transpiler: Babel ^6.26.0
  • Bundler: Webpack ^4.1.1
  • Continuous integration: CircleCI bound to Git hooks
  • Production env: Heroku, deployment is bound to CircleCI successful build completion.

How to install/run the app:

  1. Clone the project.
  2. cd into the project.
  3. ./install.sh

It will run the app on port 3000, then you just go to http://127.0.0.1:3000 and you'll be set!

Controls

  • [UP arrow] shift up.
  • [DOWN arrow] shift down.
  • [LEFT arrow] brake.
  • [LEFT arrow] accelerate.

Note that you need to shift down for neutral & reverse.

Progress

Git Board to follow the activities and progress: https://github.com/SkeloGH/dragster/projects/1

  • Racing stage:
    • basic elements rendering: stage & cars
    • gearbox, you actually need to shift up to get the car into 1st to 6th gear

Collaboration

Branches

  • branch names should be prefixed by issue_ and the issue number, e.g.: issue_3.
  • Per the above, no PR if no issue exists.
  • Branches are deleted after merging to master. But you can keep your local branch in case you need to fix anything directly related.

Commits

  • commit messages start with a verb: added, removed, changed, fixed, merged, solved, improved.
  • Multiline commits are allowed, so long as they follow the above convention, bulleted.

Releases

  • Production environment is setup on Heroku.
  • Be sure that this branch in GitHub is always in a deployable state and any tests have passed before you push.
  • Every push to master will deploy a new version of this app. Deploys happen automatically.

Feedback

Yes, please! any of it, the more detailed, the better!