Sudoku game development in Android Application Practice
Sudoku is a kind of mathematical puzzle game originated from Switzerland at the end of the 18th century, developed in the United States and carried forward in Japan. The puzzle is a nine palace grid (i.e. 3 grid wide) × 3 grid height), and each grid is subdivided into a Jiugong grid. In each small Jiugong grid, fill in the numbers from 1 to 9 respectively, so that the numbers in each column and row of the whole big Jiugong grid are not repeated.
Sudoku's playing logic is simple, and the number arrangement is ever-changing. Many educators believe that Sudoku is a good way to exercise our brains. When we have a foreign language reading class, foreign teachers like to take us to play this. They enjoy it. The teaching method of foreigners is still very popular. But every time I play this game, I have to send a Sudoku game card. I think it's troublesome. I want to write a demo and put it on my mobile phone. I'm really curious at that time. When I encounter a very popular small game, I want to make a DIY demo. Enough talking. Ha ha, go to the source code.
1、 Interface layout
1. Main interface
2. Numeric keypad layout
3. Game prompt layout
2、 Game tips
3、 Logic implementation 1
4、 Numeric keypad
5、 Background music
6、 Logic implementation 2
7、 Game settings
8、 Game entrance
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.