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

Function keyDown

assets/js/2048.js:177–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 }
176
177 function keyDown() {
178 moveDown()
179 combineColumn()
180 moveDown()
181 generate()
182 }
183
184 //check for the number 2048 in the boxes to win
185 function checkForWin() {

Callers 1

controlFunction · 0.70

Calls 3

combineColumnFunction · 0.85
moveDownFunction · 0.70
generateFunction · 0.70

Tested by

no test coverage detected