A Qlik Core gamification using bicycle sensors.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add circleci config (#14) Nov 7, 2018
server
src
.eslintrc.json Bugfixes (#12) Nov 7, 2018
.gitignore Lowdb support (#2) Sep 18, 2018
LICENSE Create LICENSE Nov 6, 2018
README.md Make it possible to skip nfc support (#29) Nov 16, 2018
docker-compose.yml Update qlikcore/engine Docker tag to v12.268.0 (#18) Nov 10, 2018
package-lock.json
package.json Update minor and patch (#33) Nov 19, 2018
renovate.json Configure Renovate (#13) Nov 7, 2018

README.md

core-chopper

A Qlik Core gamification using bicycle sensors.

Prerequisites

This repository currently requires physical/hardware sensors to properly test it:

  • ANT+ USB stick to receive ANT+ events
  • ANT+ sensors attached to e.g. a bike

Windows

Additional components are needed on Windows:

  • node-gyp build tools: npm i -g --production windows-build-tools
  • USB driver for the ANT+ stick: http://zadig.akeo.ie/

Get started

docker-compose up -d
npm i
node server

And in another terminal:

npm start

Open http://localhost:1234.

Troubleshooting

  • If the server hangs after the printout reader:starting it is most likely related to missing NFC drivers. You can skip using NFC by passing a --disable-nfc flag when starting the server.

TODO

Features

  • Add graphics for e.g. "velocity text" [*********--]
  • Implement multiple modes
  • Do not drop all the way to 0 height when dying, add warning when descending more than X, then kill at X * 1.5

Fixes

  • Refactor game implementation
    • Fix physics/animations, make them less jaggy
    • Fix sprites for floor and clouds
    • Fix floor collision