The birth of a poker game -- Preface

Source: Internet
Author: User

I have been dealing with java System Design recently. Only a little time at night can I write something that I like. net, such
Title: a poker game. In fact, it is not written for writing, but just hope to familiarize yourself with. net by writing this program.
Although the program has not been written, it is found that it involves a wide range of aspects, including almost all aspects of. net. In addition, I want to write something recently.
The idea of writing this article is generated. I want to combine the program that is currently playing with it, and elaborate on this program from the system
Although the program is not large, it involves a wide range of topics and fully adopts the object-oriented design idea and multi-layer structure.
The development idea, and some vc practices are used for reference in the winform part, which can be viewed as a typical teaching program. Some Suggestions
I wrote a book based on it and was ready to contact me for it. However, my biggest characteristic is my fear of trouble.
It is also troublesome for friends to buy books. It is better to put it online. I hope my friends who have read this article can learn more about me.
Programming ideas and programming habits. If I could help these friends, it would be my pleasure. Note that
The program is not completed, and I am also learning, so many things in many articles may be overturned after the article,
In this way, we can let you know how my programming thought has changed. In addition, this is because it is not writing books, so there are some things.
I did not elaborate on it. I am a bit casual. If there are such errors, please forgive me and hope to point them out to me.
Let's get started. To complete a project, you must complete the following phases: requirement analysis, system design, and editing.
Code and test, and each stage can be subdivided. Because there are few programs, it is not necessary to cover each stage. Let's talk about it first.
Requirements. Now we are going to do a poker game with some gambling nature. Those who prefer to play arcade games can usually play. Local
The name is different. Here we call this gambling machine FullHouse. It is very simple. After you place the score, the system will issue five cards and
Card combination to determine your score, then you can choose to score or times, select the score, the system gives you a long score, the game starts again, choose
Double is the size of the guess. if you guess the right, the score is doubled. if you guess it wrong, you will be unlucky. Continue to select the score or times until you select
Failed to select a score or a ratio. The following is a simple use case diagram and sequence diagram.
A painting, haha)
<Br>
Now that the requirements are almost clear, we have to design the system. Because the program is relatively simple, I will not use

Related Article

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.