Skip to content

A super simple Rubik's Cube scrambler written in JavaScript, packaged for NPM.

Notifications You must be signed in to change notification settings

icyflame/cube-scrambler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rubik's Cube Scrambler

Want a scramble? Say scramble on your CLI!

NPM module that can be used from the CLI as well as other NPM modules to generate Rubik's Cube scrambles.

Getting started

npm install --save cube-scrambler
const cubeScrambler = require("cube-scrambler")();

cubeScrambler.scramble();
// ["U", "D2", "L'", ...]

Huge thanks to @jnrbsn who has written the core code for this module. Find the original repository here: jnrbsn/rubiks-cube-scrambler.

(I am just the guy who packaged it into a module!)

Code licensed under MIT.

Copyright Siddharth Kannan 2015.

About

A super simple Rubik's Cube scrambler written in JavaScript, packaged for NPM.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%