The design and realization of Sudoku Game

Source: Internet
Author: User

Sudoku game rules are very simple, only need to fill in the empty Gerian 1~9 numbers, and ensure that each number in each nine Gongne can only appear once, and each number in each row, each column can only appear once, and half of the game process is the system randomly generated a chess, The player then needs to fill in the blanks with the appropriate numbers to match the game's rules.

Complete the process: Draw a 9*9 nine Gongge, design a simple and difficult two difficulty, set the number of several squares, so that it form a Sudoku game, and then through the x, Y axis to get user input numbers.

Design and implementation idea: using ergodic algorithm to complete nine Gongge acquisition

Encountered problems and solutions: Because did not learn the Android, from now on slowly contact, only the Internet to find information to self-study, and most of them are a little to understand, can only be copied down put up with, temporarily still do not understand, but through the future study, will slowly understand, through the search for a lot of information to complete the project.

Experience: Because this semester began to slowly learn Android, not very understanding, and then slowly through the study to learn more about the Android, efforts!!!

The design and realization of Sudoku Game

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.