Õª Òª ÏóÆå³ÌÐòµÄʵÏÖ¿ÉÒÔ±»·ÖΪÈ˺ÍÈ˶ÔÕ½²¿·Ö¡£È˹¤ÖÇÄܲ¿·ÖÖ÷ÒªÌåÏÖ¼ÆËã»úµÄÏÂÆå˼·£¬¼È¼ÆËã»úÈçºÎ½øÐÐ˼¿¼²¢ÒÔ×î¼Ñ×ß·¨Íê³ÉÏÂÒ»²½£¬ÏÈÓÉÏàÓ¦µÄËÑË÷Ëã·¨½øÐÐËÑË÷£¬²¢¶Ô¸÷ÖÖ¿ÉÄܵÄ×ß·¨½øÐйÀÖµ£¬´ÓÖÐÑ¡ÔñʤÀûÃæ×î´óµÄÒ»²½£»¶ø½çÃæ¼°³ÌÐò¸¨Öú²¿·ÖÖ÷Òª±ãÓÚÓû§Í¨¹ýÒÔÇ°µÄÏÂÆå²½Ö裬¸üºÃµØµ÷ÕûÏÂÆå˼·£¬×Å·¨ÏÔʾʹÓû§Äܹ»Çå³þµØÖªµÀÏÂÆå¹ý³Ì£¬¸ü׼ȷµØ°ÑÎÕÕû¸ö¾ÖÃæ¡£ ±¾ÂÛÎÄͨ¹ýʵ¼ÊÓ¦ÓÃÈí¼þµÄ¿ª·¢ÉîÈë·ÖÎöºÍÑо¿JAVA¿ª·¢¼¼Êõ¡£ÊµÏÖÖйúÏóÆåµÄÈË»ú»á»°¡£±¾ÎÄʵÏÖÁËÖйúÏóÆåÔÚ¼ÆËã»úÖбíʾÎÊÌ⣬»ùÓÚJAVAƽ̨ӦÓã¬È˺ÍÈ˶ÔսģÄâÏÖʵÖеÄÈËÈ˶ÔÕ½£»ÌÖÂÛ×ßÆå¹æÔòºÍ×Å·¨µÄʵÏÖµÈһϵÁÐÎÊÌ⣬×îÖÕµçÄÔÄܹ»Í¨¹ý²úÉú×Å·¨£¬ËÑË÷£¬¹À¼ÆÀ´²úÉúÒ»²½×îÓŵÄ×ßÆ壬ʵÏÖÈË»ú»á»°µÄÄ¿µÄ¡£
¹Ø¼ü×Ö£ºÖйúÏóÆ壬JAVA£¬ÓÎÏ·£¬È˺ÍÈ˶ÔÕ½
ABSTRACT The implementation of a chess program can be divided into people and battle. The part of artificial intelligence shows the way of computer chess, both the computer how to think and to the best way to complete the next step, the corresponding search algorithm to search, and the valuation of the possible moves, the biggest victory step to choose from; and the auxiliary part of the interface and the program is convenient for the user to the previous chess procedures, better adjustment of the chess ideas, we show the user can clearly know the process of chess, more accurately grasp the situation. In this paper, through the practical application of software development and deeply analysis and Research on the development technology of JAVA. Realize the Chinese chess man-machine conversation. In this paper, the China chess said problems in the computer, the JAVA platform based applications, and the battle simulation in reality all war; to discuss a series of problems go chess rules and law etc. Finally, computer can search by generating method, step, estimated to generate optimal chess, man-machine conversation the purpose of.
Keywords: Chinese chess, JAVA, games, and the people of war
Ä¿ ¼ Õª Òª I ABSTRACT II 1 Ð÷ÂÛ 1 1.1 Ñо¿±³¾° 1 1.2 Ñо¿ÒâÒå 1 2¿ª·¢»·¾³½éÉÜ 3 2.1 Eclipse½éÉÜ 3 2.2 JAVA ¼ò½é 4 2.2 JarÃüÁî 4 3 ¹¦ÄÜÐèÇó·ÖÎö 6 3.1 ¿ÉÐÐÐÔÑо¿ 6 3.2 ½çÃæµÄÐèÇó·ÖÎö 6 3.3 ×ßÆåÐèÇó·ÖÎö 7 3.3Àà¿ò¼ÜµÄÉè¼Æ 7 4ϵͳµÄÉè¼Æ 9 4.1 ½çÃæµÄÉè¼Æ 9 4.2ÏóÆåµÄ¹æÔò¼°×ß·¨µÄʵÏÖ 9 4.2.1ÐÐÆå¹æÔò 9 4.2.2ÆåÅ̵ıíʾ 21 5 ϵͳʵÏÖ 23 5.1²Ëµ¥½çÃæ 23 5.3 °ïÖú½çÃæ 23 5.4ÓÎÏ·½çÃæ 24 6 ÔËÐвâÊÔ 27 7 ½áÊøÓï 28 Ö л 29 ²Î¿¼ÎÄÏ× 30
1 Ð÷ÂÛ 1.1 Ñо¿±³¾° ÖйúÏóÆå·¢Õ¹ÖÁ½ñÒÑÓÐÁ½Ç§Èý¡¢ËÄ°ÙÄêµÄÀúÊ·£¬ÔçÔÚÕ½¹úʱÆÚ¾ÍÓÐÕýʽµÄ¼ÇÔØ£¬¿°³ÆÖйúµÄ¹ú´â¡£ÖйúÏóÆå¾ßÓÐÓƾõÄÀúÊ·£¬ÉîµÄÈËÃǵÄϲ°®£¬ÏóÆåµÄ°®ºÃÕßÒ²¸üÊÇÊý²»Ê¤Êý£¬Ô¶ÔÚÕ½¹úÖйúÏóÆå±ãÔÚ¹ó×å½×²ã¹ãΪÁ÷´«£¬ÔçÆÚµÄÏóÆåÊÇÏóÕ÷×ŵ±Ê±Õ½¶·³¡ÃæµÄÓÎÏ·£¬ºóÀ´ÕâÖÖ¹ÛÄîÂýÂý±»¸Ä±ä£¬¾¹ýǧÄêµÄÁ÷´«²»¶ÏµÄÍêÉƺ͸Ľø£¬³ÉΪÈËÃÇÐÝÏÐÓéÀÖ¡¢¶ÍÁ¶ÄÔÁ¦Ë¼Î¬²»¿É»ñÈ¡µÄºÃ·½Ê½¡£ ÖйúÏóÆåÌåÏÖµÄÊÇÒ»ÖÖ²ßÂÔ£¬·½´çÖ®¼ä°üº¬ÌìµØÐþ»ú£¬ÈËÉúÕÜÀí£¬Ê¹ÈËÔ½ÊÇϸÍæÔ½¾õÆäζÓÆÈ»ÉîÔ¶¡£ÓÉÓÚ¼òµ¥µÄÐÐÆå¹æÔò£¬È¤Î¶ÐÔÇ¿£¬±ã½ÝµÄÔØÌ壬ʹµÃÏóÆå³ÉΪÑÅË×¹²É͵ľº¼¼ÏîÄ¿¡£Òò´Ë£¬Ò²³ÉΪÁ÷Ðм«Îª¹ã·ºµÄÆåÒջ¡£ÊÇÎÒ¹úÕýʽ¿ªÕ¹µÄ78¸öÌåÓýÏîÄ¿Ö®Ò»£¬Îª´Ù½ø¸ÃÏîÄ¿ÔÚÊÀ½ç·¶Î§ÄÚµÄÆÕ¼°ºÍÍƹ㣬ÔÚÖйú¹Å´ú£¬ÏóÆå±»ÁÐΪʿ´ó·òÃǵÄÐÞÉíÖ®ÒÕ£¬ÏÖÔÚÔò±»ÊÓΪâùÉñÒæÖǵÄÒ»ÖÖÓÐÒæµÄ»î¶¯¡£ÓÐ×ÅÊýÒÔÒڼƵİ®ºÃÕß¡£Ëü²»½öÄܷḻÎÄ»¯Éú»î£¬ÌÕÒ±Çé²Ù£¬ÔÚÆåÕ½ÖУ¬ÈËÃÇ¿ÉÒÔ´Ó¹¥Óë·À¡¢ÐéÓëʵ¡¢ÕûÌåÓë¾Ö²¿µÈ¸´ÔÓ¹ØϵµÄ±ä»¯ÖÐÎò³öijÖÖÕÜÀí£»¸üÓÐÖúÓÚ¿ª·¢ÖÇÁ¦£¬ÆôµÏ˼ά£¬¶ÍÁ¶±æÖ¤·ÖÎöÄÜÁ¦ºÍÅàÑøÍçÇ¿µÄÒâÖ¾¡£
|