Constellations/js/Mode/Solve.js

12 lines
143 B
JavaScript

import Grid;
import Solver;
return {
events: {
onEnter: onEnter,
}
};
function onEnter() {
console.log(Solver.step(Grid.get().data));
}