A webpage with classic Sudoku game. The user can solve the puzzle by entering numbers from 1 to 9 into 9 by 9 board boxes.
The user can choose a level of complexity: easy (35 randomly generated numbers from 1 to 9 randomly spread on the board), medium (31 numbers), and hard (28 numbers). To solve, the user has to place a number into each blank box so that each row across, each column down, and each small 3 by 3 boxes square within the whole board will contain every number from 1 to 9. No number may appear more than once in any row, column, or 3 by 3 square.
-
The user chooses easy level set up by default and clicks on one of the blank boxes
- Example Event: click on the box
- Example Output: highlighted corresponding row, column and 3 by 3 box.
-
The user chooses easy level set up by default, clicks on one of the blank boxes and put some number there. The number doesn't have duplicates in corresponding row, column or 3 by 3 box.
- Example Input: 1
- Example Output: [1], the field doesn't take user input any more
-
The user chooses easy level set up by default, clicks on one of the blank boxes and put some number there. The number has duplicate in corresponding row, column or 3 by 3 box.
- Example Input: 7
- Example Output: highlight the box with duplicate number and reject the user input (reset field)
-
The user hits "undo" button in the middle of the game.
- Example Event: hit "undo" button.
- Example Output: clear previously filled box.
-
The user put some number in the blank field but the number is out of the range.
- Example Input: 34
- Example Output: ["Please enter the number from 1 to 9."]
-
The user enters not digital input in the blank field.
- Example Input: j
- Example Output: ["Please enter the number from 1 to 9."]
- Clone this repository
- Find index.html file in the repository
- Open index.html file with your web browser of choice.
If the user hits Hint button too fast it crashes.
If You run into any issues or have questions, ideas, concerns or would like to make a contribution to the code, please contact any of the contributors via email: eva.antipina@gmail.com, eric.e.nicolas@gmail.com, vernajs@gmail.com, nmedoff123@gmail.com}
- HTML
- CSS
- JavaScript
- Bootstrap
- jQuery
Not licensed
Copyright (c) 2018 Eva Antipina, Eric Nicolas, Verna Santos, Noah Medoff