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

Function initGame

assets/js/sudoku.js:107–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }
106
107 function initGame() {
108 startNew.style.color = 'red'
109 document.getElementsByTagName('h1')[0].innerText = 'Sudoku';
110 document.getElementsByTagName('h1')[0].style.color = '#497696';
111 board = initSudokuBoard();
112 var success = board.fillAttempt(board);
113 board.eraseMost(difficultyLevel);
114 initiateOrResetDragDrop();
115 board.popDom();
116 return success;
117 }
118
119 function initSudokuBoard() {
120 var board = new Sudoku;

Callers 1

Calls 2

initSudokuBoardFunction · 0.85
initiateOrResetDragDropFunction · 0.85

Tested by

no test coverage detected