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

Function keyRight

assets/js/2048.js:156–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 document.addEventListener('keyup', control)
155
156 function keyRight() {
157 moveRight()
158 combineRow()
159 moveRight()
160 generate()
161 }
162
163 function keyLeft() {
164 moveLeft()

Callers 1

controlFunction · 0.85

Calls 3

combineRowFunction · 0.85
moveRightFunction · 0.70
generateFunction · 0.70

Tested by

no test coverage detected