rubik-cube-scramble-generator
v1.0.16
Published
A simple scramble generator for 3x3x3 Rubik's cubes
Downloads
3
Readme
Welcome to rubik-cube-scramble-generator 👋
A simple scramble generator for 3x3x3 Rubik's cubes
🏠 Homepage
Prerequisites
- npm >=5.5.0
- node >=9.3.0
Install
npm install --save rubik-cube-scramble-generator
Usage
const scrambler = require('rubik-cube-scramble-generator');
scrambler.generate(); //Returns an array of 10 elements
// Example: ['F', 'R2', 'R', 'U', 'L', 'D2', 'U', 'R', 'L', 'U2']
scrambler.generate(3); //Returns an array of 10 elements
// Example: ['R', 'U', 'L']
Author
👤 Inixio Amillano Casteig
- Website: https://inixio.dev
- Twitter: @inixiodev
- Github: @inixioamillano
- LinkedIn: @inixioamillano
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator