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

const nissy = await Nissy()

nissy.setLogger(nissy._addCallbackFunction(console.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