Design and Implementation of Chinese Chess Man-machine Gambling System
- Author
- ChenJun
- Advisor
- XiaHouJianBing
- School
- Xiamen University
- Major
- Software Engineering
- Classification
- TP18 Artificial intelligence theory
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 64
- Citations
- 0
Abstract
Chinese Chess is an ancient and wise game of Chinese chess game program is a new type of game that combines computer literacy and chess knowledge. It has a new man-machine game, breaking the previous Battle of the restrictions of traditional chess game can only be human, making this ancient game more colorful. Machine gameplay, which has been carried out more than half century, is the combination of game and computer science. However, due to various reasons China’s human chess game algorithm research started late, even so, when science and technology workers put their energy into Chinese man-machine chess game algorithm research, the results obtained are still very exciting,within a short time man-machine game algorithm like sprung up, but also the emergence of a large number of extraordinary good chess software. And all of the results provide a lot of good learning template to write this article.On one hand, it has been analysed in this dissertation how to develop a Chinese Chess program, and it is focused on software UI design, introducing how to implement the expression of pieces and board, and the generation of every pieces’ moves. On the other hand, base on the primary search algorithm like Minimax and Alpha-Beta, heuristically search algorithms are introduced. The heuristically search algorithms involved are Transposition Table, Killer Heuristic, History Heuristic, Null Move and Opening Book and so on.Through chess game algorithm and program design implementation, verification of the heuristic search algorithm for Chinese man-machine chess game search procedures to enhance efficiency and combat capability is effective, but also greatly enhance the analysis and solving problems and the actual programming capability.
Table of contents
Abstract 4-5
Abstract 5-12
Chapter 1 Introduction background and significance of 12-15
1.1 topics 1.2 dynamic development and research status /> 12 <br 12-14
1.3 the main work of this paper structure nbsp 14
1.4 papers ; 14-15 <br / > Chapter 2 Chinese chess rules and major technical presentations 15-17
2.1 Chinese chess pawn planning rules and 15-16
2.2 man-machine system is mainly technical brief nbsp Game ; 16-17
Chapter 3 basic search algorithms 17-25
3.1 graph search strategy 17-18
3.1.1 breadth-first search 17-18
3.1.2 depth-first search 18
3.2 Minimax search algorithm 18-20
3.3 search pruning 20-22
3.4 Alpha-Beta search 22-23
3.5 search time analysis 23-24
3.6 chapter Summary 24-25
Chapter 4 heuristic search algorithm 25-34
4.1 permutation table 25-27
4.2 static evaluation inspired 27-28
4.3 killer inspired 28-29
4.4 history inspired 29
4.5 empty 29-30
4.6 start library 30-32
4.7 sequential method to go searching generated 32-33
4.8 Chapter Summary 33-34
Chapter 5 chess program analysis and design 34- 54
5.1 program Overview 34
5.2 situation said 34-40
5.2.1 chessboard said 35-36
5.2.2 pawn said 36-38
5.2.3 string representation of the situation 38-40
5.3 moves generate 40-47
5.3.1 horse the walk to generate 40-41
5.3.2 the ( handsome ) and the walk to generate 41-42
5.3.3 disabilities ( official ) and the walk to generate 42
5.3.4 like ( phase ) and the walk to generate 42-43
5.3.5 car moves generate 43-45
5.3. 6 gun moves generate 45-46
5.3.7 Death ( soldiers ) and the walk to generate 46-47
5.3.8 generate a situation of all moves 47
5.4 General detection 47-48
5.5 situation assessment 48-53
5.5.1 experience function assessment 48-51
optimization 5.5.2 valuation function 51-52
5.5.3 knowledge and speed 52-53
5.6 chapter Summary 53-54
realize Chapter 6 Game systems function 54-66
6.1 program planning 54-55
overall design nbsp 6.2 game engine ; 55-57 achieve
6.3 user interface 57-59
6.4 chess game initialization 59
6.5 man-machine war to achieve 59-60
achieve 6.6 file system 60-61
6.7 program testing and analysis 61-65
6.8 Chapter Summary 65-66
Chapter 7 summary and Prospect 66-68
7.1 summarizes 66
7.2 Looking 66-68
references 68-69
Thanks 69
Related dissertations
- Parallel Hybrid PVS Algorithm Based on OpenMP and its Application
- Application and Research of Chinese Chess Computer Game Based on Android System
- Design and Implementation of Chinese Chess Game Based on Java
- The Research of Load Transfer in Distribution Network
- The Explore of Chinese Chess Redesign under Cultural and Creative Perspective
- Shanghai Volkswagen Door Cover Line Robot Optimization Implementation
- Research on Opening Book and Move Generator in Chinese Chess Software
- A Conformant Planning Method Based on Ordered Hill Climbing Search
- Research on Man-Machine Game for Android Mobile Terminal Equipment
- Application of Planning in Natural Sentence Generation
- Design of Chinese Chess Software Based on Android OS
- Compiler Design of Scalable and Configurable Processors
- Study on Self-healing Control Method of Smart Distribution Network
- Improvement of the Performance of the Alpha-beta Pruning Algorithm
- Conformant Planning Sovling Based on Graph Plan and Heuristic Search
- Research on Strategies of Heuristic Search in AI Planning
- The Research on Several Issues of Automated Reasoning and Artificial Intelligent Planning
- Detecting the Rotor Orientation and Control Strategy of a Permanent Magnet Spherical Stepper Motor for Humanoid Robot Joint Applications
- Research on Dynamic Rescheduling Model, Algorithm and Its Applications of Imaging Reconnaissance Satellite Scheduling Problem
- Study on Scheduling Flexible Manufacturing Systems Using Petri Nets