Android Journey-Development Sudoku (i)

Source: Internet
Author: User
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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.