18 lines
299 B
JavaScript
18 lines
299 B
JavaScript
import Grid;
|
|
import Grid.IO;
|
|
import Toolbox;
|
|
import Mode;
|
|
import * as Play from Mode.Play;
|
|
import * as Solve from Mode.Solve;
|
|
import * as Edit from Mode.Edit;
|
|
|
|
var size = 8;
|
|
|
|
Toolbox.init(size);
|
|
Mode.init({
|
|
play: Play,
|
|
solve: Solve,
|
|
edit: Edit
|
|
});
|
|
Grid.init(size, Mode.dispatch);
|
|
Grid.IO.init();
|