Five-in-a-row Artificial Intelligence Design and its Implementation
- Author
- LiuRui
- Advisor
- ChenZeLin , ZhuJianFei , TanMingXiang
- School
- South China University of Technology
- Major
- Software Engineering
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 639
- Citations
- 0
Abstract
Game playing is one of the main research fields of artificial intelligence, which involvesartificial intelligence reasoning techniques, search methods and decision processes. In1950,Alan Mathison Turing once said: Playing chess is a very abstract activity, and it’s a field ofintelligence that machine can compete with human. Since then, human-machine playingbecomes a hot research of artificial intelligence. People study five-in-a-row for many years.At present, the optimization of game-tree search algorithm is a hot research field onfive-in-a-row human-machine playing.This paper mainly studies on game-tree search algorithm and alpha-beta pruningtechnology. What’s more, this paper improves the game evaluation function and puts forwardthe concept of continuous Red Four search algorithm.This paper designs an improved evaluation function. The traditional evaluation functionjust considers the chess form of single straight. But it may not judge well in somecomplicated situation. The evaluation function designed in this paper puts in the score ofcross combination based on the single straight. The improved evaluation function can avoidthe computer player missing the must-win situation of Three-Three or Three-Four and so on.It can improve the intelligence during the game procession.This paper studies the professional knowledge of five-in-a-row. Based on it, thealgorithm of continuous Red Four search was put forward. In five-in-a-row game playing,Red Four is a very strong attack means. Unless the opponent can make five chesses in a rowat the next step, opponent must choose the only step for blocking. People often usecontinuous Red Four attack to construct the must-win situation Three-Four. The aim ofcontinuous Red Four search algorithm is finding steps of continuous Red Four which can leadto win, and it’s an assist for game-tree search. What’s more, it can search deeper position thangame-tree search and discover the must-win means in time.Apart from designing the human-machine playing algorithm of five-in-a-row, this paperdesigns a system for five-in-a-row human-machine playing. The system includes fourmodules. The system has favorable expandability since every module is independent.
Table of contents
Summary 5-6
Abstract 6-10
first chapter 10-14
1.1 the background 10 <br / > 1.2 backgammon Overview 10-12
1.2.1 backgammon About 10-11
1.2.2 backgammon term 11-12
1.2. 3 backgammon rules 12
1.3 contents and methods 12
1.4 thesis structure 12-13
1.5 Summary 13 - 14
algorithm described in the second chapter 14-33
2.1 man-machine chess backgammon algorithm introduced 14-25
2.1.1 greedy algorithm 14
2.1.2 game tree search 14-21
2.1.3 genetic algorithm combined 21-23
2.1.4 combines neural networks 23-25
2.2 evaluation function design and implementation 25-29
2.2.1 evaluation function design 25-27
2.2.2 evaluate function implementation 27 - 29
2.3 rushed four consecutive search 29-32
2.3.1 rushed four consecutive win 29-31
2.3.2 rushed four consecutive search algorithm 31-32
2.3.3 washed four consecutive search optimization 32
2.4 Summary 32-33
Chapter III system design 33 - 39
3.1 system Requirements Analysis 33
3.1.1 system goals 33
3.1.2 system requirements 33
3.2 system level design 33-35
3.2.1 overall design 33-34
3.2.2 scalability 34-35
3.3 class interfaces and classes define the relationship 35-38
3.3.1 Game class 35-36
3.3.2 GameBoard class 36
3.3.3 Player class 36-37
3.3.4 Displayer class 37
3.3.5 class relationships defined 37-38
3.4 Summary 38-39
system implementation and testing of the fourth chapter analyzes 39-51
4.1 data structure design 39-41
4.2 AI interaction design 41-46
4.3 system testing and analysis 46-50
4.3.1 functional Test 46-49
4.3.2 performance Analysis 49-50 <br / > 4.4 Summary 50-51
Chapter V system works 51-57
5.1 overall interface 51-52
5.2 configuration instructions 52-53
5.3 Description 53-55
5.4 other screenshot 55-56
5.5 Summary 56-57 <br / > Conclusion and Outlook 57-59
References 59-61
Thanks 61
Related dissertations
- "Period Loan-pity Goods Game\" of the\" Sunshine Credit\" Perfect Research
- An Analysis of Communication Technology Developments from The Communication Model and the Capabilities of the iPad
- The Research on Uncertainty of Artificial Intelligence
- Application and Comparison of QR Code Recognition System Based on Artificial Intelligent Algorithm
- Neural Network Algorithm and Its Application in License Plate Recognition
- Design and Implementation of Chinese Chess Game Based on Java
- Research and Application on Intelligent Exercise Prescription System to Promote the Health of Fitness of Civil Service
- Discussion on the Realization of Intentionality in Artificial Intelligence
- The Ethical Problems of Artificial Intelligence and Its Countermeasures
- Key Technology Research of Modern Power Grid Smart Remote Viewing
- Based on CPS Intelligent Building Lndoor Environment Measurement and Control System
- Mobile Terminal of Vehicle Auxiliary System Based on Rough Set
- The Application of Multi-Agent Information Fusion in Train Fault Diagnosis
- Research on Explosive Shell Expert System Based on Artificial Intelligence
- The Dialectical Method of Solve the Contradiction
- Greenhouse flower precision irrigation system
- Fuzzy Neural Network Based Intelligent Control System of Water
- Research on Some Problems about Model-Based Diagnosis of Hybrid Systems
- The Artificial Intelligence Robot Based on the Cartesian Coordinate System and Mathematical Statistical Algorithms
- Research on Intelligent Method for Robotic Profile Belt Grinding