1.
Mid Term Exam Submission Due: May 3 Internet Programming ExamYou will design an easy version of sudoku puzzle.Please a number 1 to 6 in each empty cell so that every row, every column and every 2 x 3 box contains all thenumbers 1 to 6. 1. Your code will randomly generate some initial numbers. 2. Draw a grid of 6 x 6 - this is not going to change. 3. There are 6 boxes in total. 4. Each box has 2 numbers that are randomly generated. (Make sure that each row and column has unique numbers.) 5. You will provide a list of numbers, from 1 to 6, on the left. 6. User will select a number, and click on an empty cell. This will replace the empty cell with the selected number. 7. User selects, by clicking, a number on a cell, and press delete key. This will delete the number. Note that, only those numbers can be deleted that were provided by the user. 8. If user places a number in a cell and it is not unique then your program should generate an error message that the operation is not allowed. 9. Your program should count the number of steps that the user takes to solve this puzzle. 10. Your program should automatically detect if the puzzle is solved. You will be graded 1. On the correctness of your program. 2. On the presentation of web page which includes the color of grid, the color of numbers, and the design of page.
Be the first to comment