()
| 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; |
no test coverage detected