Package Exports
- scrambo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (scrambo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Scrambo - Puzzle Scramble Generator
Cli
npm install -g scrambo
scrambo
Node.js
npm install scrambo
var Scrambo = require('scrambo');
var threebythree = new Scrambo(); // Defaults to 3x3
console.log(threebythree.get(5)); // Returns 5 scrambles
Browser
Not impliemented yet.
<script src="scrambo.js"></script>
<script>
var threebythree = new Scrambo(); // Defaults to 3x3
console.log(threebythree.get(5)); // Returns 5 scrambles
</script>
API
.get(num); // Returns a number of scrambles, defaults to 1.
.type(str); // Sets the scramble type, defaults to 333.
Current status
Currently only works with 3x3, and there's no browser build yet.
Credits
This is a fork of jsss