Kibaraska's Nut Quest
A single-file HTML5 game. Open index.html in a browser, or host the folder on GitHub Pages.
Controls
- Arrow keys / WASD: move
- Space: hop (jumps 2 cells, skipping the cell in between)
- Enter: continue, P: pause
- Touch: swipe to move, tap to hop
Levels
- Forest Floor. Nokia-snake style. Kibaraska always moves. Nuts are hidden near bushes and appear when she gets within 3 cells. Collected nuts join her trail. Hitting a tree or her own trail costs a life. 10 nuts to clear.
- The Tall Tree. Climb a 26-row tree, take every nut on the trunk and branches, then return to the ground within 45 seconds.
- The Great Crossing. Gather 6 ground nuts, then cross 15 trees. Each tree has a timer, and the timer is the lifetime of the "branch bridge" to the next tree. Reach the bridge tip before it runs out or it detaches and you lose a life. Thorny hurdles on trunks and branches must be hopped. Tree 15 ends in the golden nut and a home filled with every nut collected.
Design decisions
- Each Level 3 tree gives Kibaraska 30 seconds (
CFG.bridgeTime) to reach the branch bridge before it detaches. - Nuts on Level 3's trees are optional bonus (score and the size of the final nut pile). On Level 2 they are mandatory.
- Lives: 3 for the whole run. Losing a life restarts the current screen.
Tuning
All balance numbers are in the CFG object at the top of the script.