aboutsummaryrefslogtreecommitdiff
path: root/web/examples/solve.mjs
blob: 8ff59c0749962e4bf519579229564c6ceab00119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Nissy from '../nissy_web_module.mjs'

const nissy = await Nissy();

var log = process.stdout.write.bind(process.stdout);
//var log = console.log
nissy.setLogger(nissy._addCallbackFunction(log))

var cube = new nissy.Cube();
cube.move('R\' U\' F');

nissy.solve('h48h0k4', cube, nissy.NissFlag.normal, 0, 8, 2, 99, 4, -1);

Generated with cgit - Back to sebastiano.tronto.net