I’ve currently made it through chap. 6 but wanted to make a few changes:
1) Make the letters blue when they are not givens but black for the givens 2) Make the givens unchangeable
For the first idea, I figure we define a new color (#ff000000, for example, as puzzle_foreground_givens) in the color XML under resources. Then I would think I’d need to modify the onDraw() method in PuzzleView.java under the “Draw the numbers” comment. But that’s where I’m having trouble. How would you one color on some cells and another color elsewhere?
In general, what I thought might be the easiest way to do this would be to check the appropriate puzzle string in Game.java for a ‘0’ character or something else. If it’s ‘0’, use blue and allow changes. If there’s something there in the puzzle string, then color it black, and don’t allow changes.
Any ideas how to do this?