Register now or log in to join your professional community.
The main idea is to have a list of roles to control the puzzle and to compare user input with the correct data using any type of structure and the interface will be GUI input fields and push buttons.
see the below code :
http://www.codeproject.com/Articles/90885/Sudoku-Game-in-Java