Example App
Used to show off how cool updoc is.
Spoiler warning: it's really cool.
Guesser module
The main application
function guess
- param guessed value
- return true or false
Guess what the secret value is
SECRET
Can't guess this from outside the module.
Is a value from 1 to 10
Util Module
Back door debugging stuff
Cheating
For development only!
function cheat
- return a number 1-10
Cheat and learn the secret value
Math
Useful math utilities
function numBetween
- param1 x number
- param2 y number
- return number
Create random number between x and y