nissy-core

The "engine" of nissy, including the H48 optimal solver.
git clone https://git.tronto.net/nissy-core
Download | Log | Files | Refs | README | LICENSE

solve.mjs (256B)


      1 import Nissy from '../nissy_web_module.mjs'
      2 
      3 const nissy = await Nissy()
      4 
      5 nissy.setLogger(nissy._addCallbackFunction(console.log))
      6 
      7 var cube = new nissy.Cube()
      8 cube.move('R\' U\' F')
      9 
     10 nissy.solve('h48h0k4', cube, nissy.NissFlag.normal, 0, 8, 2, 99, 4, -1)