MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / ready

Method ready

assets/js/15puzzle.js:97–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 static ready() {
98 return new State(
99 [
100 [0, 0, 0, 0],
101 [0, 0, 0, 0],
102 [0, 0, 0, 0],
103 [0, 0, 0, 0],
104 ],
105 0,
106 0,
107 'ready'
108 );
109 }
110
111 static start() {
112 return new State(getRandomGrid(), 0, 0, 'playing');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected