Android Journey-Development Sudoku (i)
Introduction to Sudoku Games
Sudoku game, is a mathematical puzzle game, is the abbreviation of "Independent digital game", originated in Switzerland at the end of 18th century, after the development in the United States, in Japan to flourish.
Sudoku game can train the player's logic reasoning ability, many educators think Sudoku is a good way to exercise their brains.
The rules are as follows:
1. The game begins with a section of nine Gongge with numbers. In the 9x9 of the large nine Gongge (that is, 3 square width x3 gecko) Phalanx, each lattice is subdivided into a small nine gongge.
2. The game starts, has given a number of numbers, the other palace left White, the player needs to logically figure out what the remaining space is.
3. When filling numbers, the following conditions must be met: Fill in the blanks with the numbers in the 1~9 so that each number appears only once in each row, column, and small nine lattice of the "nine Gongge".
Sudoku Digital arrangement of the ever-changing way, play logic is simple, each Sudoku game solution is unique.
First, the basic concept of Android graphics programming
1. Color
How colors are represented in the Android system
- int color1 = Color.Blue;
- int coloe2 = COLOR.ARGB (177,255,255,255);
- Defining colors in an XML file
Android Journey-Development Sudoku (i)