logo

Starter Grid Checker

   

Added on  2019-09-26

1 Pages415 Words474 Views
 | 
 | 
 | 
Su Do Ku is a Janapeese puzzle game. Provide a 9x9 "starter" grid with a few numbers. The player has to fill in the remaining empty slots so that each row andeach column in the 9x9 grid contains all the digits 1-9, and each local 3x3 grid must also contain all the digits 1-9.As you bring up the game, you can show an empty board and let the player fill inthe starting numbers that they would get from the newspaper or a book of games. An "advanced" feature (+25 points) would be to provide a library of easy,medium,hard "starter boards". Or - let the user SAVE starter boards they enter (on disk) to accumulate a library of games!Your job is to just test the board content for correctness. Don't get involved in playing the game! You can put a button somewhere on the GUI that says "check board" or something like that. An advanced feature (+25 points) would be to notice when an entry is made and check the row, column and box that contains that square and color parts that contain all 9 digits green.)Below are a couple starter grids for you to test with (straight from the newspaper!) ___________________ [ 3][ 8 ][ 6 ] [ ][ 9 ][5 2 8] [__6__][____5][____1] [8 ][6 ][ ] [4 1 ][ ][ 8 5] [_____][____8][____9] [3 ][2 ][ 1 ] [9 4 1][ 6 ][ ] [__2__][__3__][9____]And here's another one: ___________________ [9 ][2 7 8][1 ] [ 1][ 3 ][2 4 9] [____3][_____][_____] [ 3 ][8 ][ ] [ 7][ ][5 ] [_____][____4][__3__] [ ][ ][3 ] [5 7 8][ 4 ][9 ] [____4][5_1_6][____7]
Starter Grid Checker_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Programming: Creating and Uploading Java Projects to GitHub via Eclipse
|6
|838
|246

After 30 years, Microsoft Excel remains ubiquitous in business.
|106
|10270
|231