diff options
Diffstat (limited to 'web/examples/solve.mjs')
| -rw-r--r-- | web/examples/solve.mjs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/web/examples/solve.mjs b/web/examples/solve.mjs deleted file mode 100644 index 8ff59c0..0000000 --- a/web/examples/solve.mjs +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | import Nissy from '../nissy_web_module.mjs' | ||
| 2 | |||
| 3 | const nissy = await Nissy(); | ||
| 4 | |||
| 5 | var log = process.stdout.write.bind(process.stdout); | ||
| 6 | //var log = console.log | ||
| 7 | nissy.setLogger(nissy._addCallbackFunction(log)) | ||
| 8 | |||
| 9 | var cube = new nissy.Cube(); | ||
| 10 | cube.move('R\' U\' F'); | ||
| 11 | |||
| 12 | nissy.solve('h48h0k4', cube, nissy.NissFlag.normal, 0, 8, 2, 99, 4, -1); | ||
