Friday, 7 October 2016

Week 3

This week I was concerned with the Sudoku board generation. The method that a friend told me about seems the easiest in the generation of random Sudoku boards.

The method I'll follow is that I'll take 4-5 solved Sudoku puzzles. These puzzles will then be stored in a data structure (preferably array). Randomly after every sudoku board generation some numbers of the Sudoku puzzle will not show. For varying difficulty I will make more numbers to not show on the board.

Solved Sudoku board( one of the many):


Randomly not showing some elements of the board:

For a relatively difficult level:


No comments:

Post a Comment