12 lines
146 B
JavaScript
12 lines
146 B
JavaScript
import Grid;
|
|
import Solver;
|
|
|
|
return {
|
|
events: {
|
|
onEnter: onEnter,
|
|
}
|
|
};
|
|
|
|
function onEnter() {
|
|
console.log(Solver.solve(Grid.get().colors));
|
|
}
|