Design and implementation of bucket landlord algorithm (vi)--project source code and description

Source: Internet
Author: User
Tags deprecated

This article will give the source code of the Bucket landlord algorithm, introduce some basic situation of the Bucket landlord project.

Download Address : http://download.csdn.net/detail/fansunion/6387589

Special Note : The main implementation of the Bucket landlord project, the bucket landlord in the shuffle, licensing, judging the card type, sorting and other series of algorithms, but this is not a complete project.

The interface operation part, the function is very limited, only for the reference, has the interest schoolmate self-improvement.

Project Structure


Project screenshot

a problem that novice is apt to encounter

Introducing the following 2 classes will report an error
Import Sun.audio.AudioPlayer;
Import Sun.audio.AudioStream;

Description Resource Path Location Type
Access Restriction:the Constructor Audiostream (InputStream) is not accessible due to restriction on required library c:\p Rogram Files\java\jre7\lib\rt.jar Ddzutil.java/doudizhu/src/cn/fansunion/ddz Line 138 Java Problem

Solution Solutions
windows-preferences-java-compiler-errors/warnings-deprecated and restricted Api-forbidden reference (Access rule), Change the error to warning or ignore.

These deprecated or restricted APIs, I have not yet found the corresponding replaceable API, so use it first.

Interactive communication

A. Feel good, "top". The "Top" button below the article.

B. Leave a comment.

C. Have any good suggestions, or there are errors in the program, you can tell me oh.

Related reading

Design and implementation of bucket landlord algorithm

Object-oriented implementation of the core algorithm of the landlord program, including shuffling, licensing, judging the card type, the size of the comparison card, game rules and so on.


In the original text see: http://FansUnion.cn/articles/2749

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.