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

Method getTopBox

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

Source from the content-addressed store, hash-verified

5 }
6
7 getTopBox() {
8 if (this.y === 0) return null;
9 return new Box(this.x, this.y - 1);
10 }
11
12 getRightBox() {
13 if (this.x === 3) return null;

Callers 1

getNextdoorBoxesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected