Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 800 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 800 Bytes

Hex game

How to install and run it in the intellij

$ npm install

This command will create all the dependencies

ctrl+shift+alt+s

Open intellij setting and install nodejs plugin.

click Edit configuration in the Run menu to point to %project%/app.js

How to run Jasmine tests

$ npm install
$ node runAllSpecs.js

How to generate a QR code

Into an output file:

$ java -jar tools/qrcode-generator-1.0.0-shaded.jar -f png -w 125 -h 125 -o output.png -u http://hexgame

Into a dataURI (that you can then use in a <img src="data:image/png;base64,iVBORw[...]" />):

$ java -jar qrcode-generator-1.0.0-shaded.jar -f dataURI -w 125 -h 125 -u http://hexgame