Emil-Ilnicki / Sudoku

Sudoku code with test cases
0 stars 0 forks source link

Randomly Generated Sudoku has no input #3

Closed HaraseesG closed 5 years ago

HaraseesG commented 5 years ago

My randomly generated sudoku appends values from JS to HTML and pastes them into a table the user sees. It sets input fields but when the puzzle generates, input is set to false.

HaraseesG commented 5 years ago

Just to add to the original comment; Input is set to true in javascript because the table is generated with JS. I do not know where it is being set to false.

sydsmith3141 commented 5 years ago

When you generate the puzzle you also call the reset function. Did you mean to do that?

HaraseesG commented 5 years ago

The reset button should be setting the input fields to true as well though so I don't think that should matter

sydsmith3141 commented 5 years ago

However, the reset function calls the solve function which clears the array. The solve function sets input values to false right?

HaraseesG commented 5 years ago

Thank you