.buk is a cube rolling puzzle game
After selecting a level you can control the game from either keyboard or from touch screen.
If you're on touch screen then:
Or from keyboard:
w
or up arrow
- Move forwards
or down arrow
- Move backa
or left arrow
- Move leftd
or right arrow
- Move rightshift + a
- Rotate the camera clockwiseshift + d
- Rotate the camea counter-clockwiseshift + w
- Zoom inshift + s
- Zoom outThe goal is to roll the cube on the level towards the exit. The cube can step on the tile if the side of the cube matches the color of the tile.
You get the first star if you finish the level successfully. The second star is given if you collect all the bonuses on the level. The third star is given if you finish the level with the fewest steps.
You need Node.js 6.3.1 or newer to start developing.
To bootstrap your environment run npm run bootstrap
in the root
directory of the project.
This npm script will install all dependencies and type definitions
Run npm run develop
to start the development server and navigate to
http://localhost:3000
(as seen in the console output).
Any change you make in the src/
directory will trigger the browser
to reload. The server is available externally to so you can access
the application on your phone easily.
To set it up in VS code check
these
sample jsons. Also please note that
/// <reference path="../../typings/index.d.ts" />
line seems to be
mandatory before any includes to make it work with it (But also YMMW).
Please don't remove them.
Simply run npm run build
. The result will be written in dist/