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

File 2048.js

assets/js/2048.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1document.addEventListener('DOMContentLoaded', () => {
2 const gridDisplay = document.querySelector('.grid')
3 const scoreDisplay = document.getElementById('score')
4 const resultDisplay = document.getElementById('result')

Callers

nothing calls this directly

Calls 2

addColoursFunction · 0.85
createBoardFunction · 0.70

Tested by

no test coverage detected