Constellations/js/Mode/Solve.js

13 lines
146 B
JavaScript
Raw Permalink Normal View History

2022-07-31 16:32:24 +02:00
import Grid;
import Solver;
return {
events: {
onEnter: onEnter,
}
};
function onEnter() {
console.log(Solver.solve(Grid.get().colors));
}