ÄãºÃ£¬»¶Ó­À´µ½¾­¹ÜÖ®¼Ò [µÇ¼] [×¢²á]

ÉèΪÊ×Ò³ | ¾­¹ÜÖ®¼ÒÊ×Ò³ | Êղر¾Õ¾

ÍøÉÏÖÇÁ¦ÆË¿ËϵͳµÄÉè¼ÆÓ뿪·¢_¼ÆËã»úרҵÂÛÎÄ·¶ÎÄ

·¢²¼Ê±¼ä£º2015-01-22 À´Ô´£ºÈË´ó¾­¼ÃÂÛ̳
¼ÆËã»úרҵÂÛÎÄ·¶ÎÄ ÕªÒª Internet·ÉËÙ·¢Õ¹µÄ½ñÌ죬ÍøÂçÒѳÉΪÈËÃÇÉú»î£¬Ñ§Ï°£¬¹¤×÷£¬ÓéÀÖµÄÖØÒª×é³É²¿·Ö£¬ÍøÂçÓÎÏ·¸üÊÇ·çÃÒÈ«¹ú£¬Ëæ×ÅÍøÂçÓÎÏ·µÄÊ¢ÐУ¬Ô½À´Ô½¶àµÄÈËÑ¡ÔñÍøÂçÓÎÏ·×öΪѧϰ¡¢¹¤×÷Ö®ÓàµÄÏûDz£¬ÓÈÆäÊÇÍøÂçÆåÅÆÓÎÏ·¸üÊDZ¶ÊÜÇàíù¡£»ùÓÚ´Ë£¬±¾¿ÎÌ⿪·¢Ò»Ì×ÊʺÏÓÚÓéÀÖÏûDzµÄÔÚÏßÆË¿ËÓÎÏ·¡£ ±¾ÎĶÔC/SÄ£ÐÍ£¬³éÏó´°¿Ú¹¤¾ß°üAWT£¬JavaÍøÂç±à³Ì£¬Java¶àÏ̱߳à³Ì£¬½øÐÐÏêϸµÄÃèÊö£¬È»ºóÀûÓÃÕâЩ¼¼ÊõÉè¼ÆʵÏÖÁËÒ»¸ö»ùÓÚC/SÄ£Ð͵ÄÍøÉÏÖÇÁ¦ÆË¿Ëϵͳ£¬¸ÃϵͳÀûÓÃSocket±à³ÌʵÏÖÁË¿Í»§¶ËºÍ·þÎñÆ÷Ö®¼äµÄͨÐÅ£¬·þÎñÆ÷¶ËʹÓöàÏ̼߳¼ÊõÀ´ÊµÏÖ¶Ô¶à¸ö¿Í»§¶ËµÄÖ§³ÖÒÔ¼°ÏûÏ¢µÄ´¦ÀíºÍת·¢¡£¿Í»§¶Ë·Ö±ð²ÉÓõ¥¶ÀµÄÏß³ÌʵÏÖÁËÁÄÌìºÍÓÎÏ·¹¦ÄÜ£¬ÓÎϷʱʹÓÃÁËBufferedImageÀàÀ´¼ÓÔØÆË¿ËͼƬ£¬²¢ÊµÏÖÁËËæ»úÏ´ÅÆËã·¨£¬ÒÔ¼°¸ù¾Ý°µÅÆÓÎÏ·¹æÔò½øÐÐÓÎÏ·µÄËã·¨¡£ ¹Ø¼ü´Ê£ºEclipse£»Thread£»Socket£»ÔÚÏßÆË¿Ë£»×ßÅÆ£» ABSTRACT With the rapid development of the Internet today, the network has become a important component of living, learning, work and Entertainment of everyone, network game is more and more popular throughout the country, with the growing popularity of online games, More and more people choose online games as the tool of entertainment after learning and work, In particular network Chess and Cards game is good graces. Because of this, in this topic I developed a online poker system with is suitable for entertainment. In this article I have give a detailed description to the C/S model, abstract window tool bag (AWT), the Java network programming, the Java multithreading programming and Eclipse, then has realized network intelligence playing cards system using the Java language based on the C/S model, this system has realized the customer end and the server correspondence using the Socket programming, the server end use multithreading technology realizes to many customers end support. The customer end separately uses the independent line regulation realization to chat with the game function, used the BufferedImage kind increase the playing cards picture, and realized the algorithm of shuffle according to the random number,and the algorithm base on black card¡¯s rule. Key Word: Eclipse£»Thread£»Socket£»Online Card£»Move Card£» Ŀ¼ 1.Ð÷ÂÛ1 ¿ÎÌâ±³¾°¼°Ä¿µØ1 ¹úÄÚÔÚÏßÆË¿ËÓÎÏ·µÄ·¢Õ¹ÏÖ×´1 2.¼¼Êõ±³¾°3 2.1 C/S½á¹¹¼ò½é3 2.2³éÏó´°¿Ú¹¤¾ß°üAWT¼ò½é3 2.2.1¡¢×é¼þ4 2.2.2¡¢ÈÝÆ÷6 2.2.3²¼¾Ö¹ÜÀíÆ÷6 2.3 Java¶àÏ̱߳à³Ì¼¼Êõ7 2.3.1Ï̻߳ù´¡ÖªÊ¶7 2.3.2 Ḭ̈߳²È«Àà7 2.3.3 ËÀËø8 2.4 ÍøÂç±à³Ì8 2.4.1 InternetÍøÂçÄ£ÐÍ8 2.4.2 JavaÌ×½Ó×Ö±à³Ì9 3.ÍøÉÏÖÇÁ¦ÆË¿ËϵͳµÄÐèÇó·ÖÎö14 3.1 ϵͳ²ÉÓõÄģʽ14 3.2 ·þÎñÆ÷¶ËÐèÇó·ÖÎö14 3.3 ¿Í»§¶ËÐèÇó·ÖÎö14 4.ÍøÉÏÖÇÁ¦ÆË¿ËϵͳÉè¼ÆÓëʵÏÖ15 4.1ÍøÉÏÖÇÁ¦ÆË¿ËϵͳÉè¼Æ¸ÅÊö15 4.2ÍøÉÏÖÇÁ¦ÆË¿Ëϵͳ½çÃæÉè¼Æ15 4.2.1 ·þÎñÆ÷¶Ë½çÃæÉè¼Æ15 3.2.2 ¿Í»§¶Ë½çÃæÉè¼Æ16 4.3ÍøÉÏÖÇÁ¦ÆË¿Ëϵͳ¸ÅÒªÉè¼Æ19 4.3.1 ·þÎñÆ÷¶Ë¸ÅÒªÉè¼Æ19 4.3.2 ¿Í»§¶Ë¸ÅÒªÉè¼Æ19 4.4ÍøÉÏÖÇÁ¦ÆË¿ËϵͳÏêϸÉè¼Æ21 4.4.1 ·þÎñÆ÷¶ËÏêϸÉè¼Æ21 4.4.2 ÓÎÏ·Ãæ°åÏêϸÉè¼Æ22 4.4.3 ¿Í»§¶ËÏêϸÉè¼Æ24 ½áÂÛ26 ÖÂл27 ²Î¿¼ÎÄÏ×28 ¸½Â¼A Ö÷ÒªÔ´³ÌÐò30
¾­¹ÜÖ®¼Ò¡°Ñ§µÀ»á¡±Ð¡³ÌÐò
  • ɨÂë¼ÓÈë¡°¿¼ÑÐѧϰ±Ê¼ÇȺ¡±
ÍƼöÔĶÁ
¾­¼ÃѧÏà¹ØÎÄÕÂ
±êÇ©ÔÆ
¾­¹ÜÖ®¼Ò¾«²ÊÎÄÕÂÍƼö