Labels

Saturday, March 10, 2012

(Chapter 4) Created Game board and Numbers


Sudoku development step-by-step continuing ...

Chapter 4 P73 - Created Game Board


Chapter 4 P75 - Draw numbers without game implementation
Game implementation needs quite some coding effort so I stop here and do next time. 


Chapter 4 P87 - Draw numbers with some game implementation


This with the hard coded string in PuzzleView.java
// Test string to show how numbers are allocated on the game board

private final String easyPuzzle =
    "100000000200000000300000000" +
                "400000000500000000600000000" +
    "700000000800000000900000000"; // TBD - This is not real game logic

The example application only defines 3 games. (text page 89) 


No comments:

Post a Comment