rubik-cube-scramble-generator

1.0.16 • Public • Published

Welcome to rubik-cube-scramble-generator 👋

Version Prerequisite Prerequisite Documentation Maintenance License: MIT Twitter: inixiodev

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

🤝 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

Readme

Keywords

none

Package Sidebar

Install

npm i rubik-cube-scramble-generator

Weekly Downloads

3

Version

1.0.16

License

MIT

Unpacked Size

3.38 kB

Total Files

3

Last publish

Collaborators

  • inixiodev