Font Size: a A A

Design And Implementation Of Chinese Chess Game Based On Unity

Posted on:2021-12-31Degree:MasterType:Thesis
Country:ChinaCandidate:R ChengFull Text:PDF
GTID:2507306575453674Subject:Software engineering
Abstract/Summary:
Chinese chess has a history of more than two thousand years of development and is a magnificent treasure of the traditional culture of the Chinese nation.Chinese chess contains both wisdom and fun.It can not only inspire people’s thinking,but also enrich people’s lives.Machine game is a combination of computer game and artificial intelligence algorithms.It is an important research direction in the field of artificial intelligence and is widely used in various industries.The combination of Chinese chess and artificial intelligence has received full attention from all walks of life at home and abroad in recent years,and has become one of the hot research topics that have attracted much attention in the scientific research field.Research results on the game algorithm and evaluation function of Chinese chess have sprung up.With the wide spread of the Internet,the street-style face-to-face chess game is no longer able to meet people’s basic needs.People have begun to turn their attention to the chess game field of computers and smart terminals.According to the actual needs of users,this system combines theory and practice to design and implement a Chinese chess game suitable for all ages.The system is designed and implemented based on the Unity game engine,and the coding of the system is done on the Visual Studio editor.In the system design stage,combining the functional and non-functional requirements of users,the system is divided into four functional modules: interface management module,two-player game module,human-machine game module and online game module.The system realizes the jump between the interfaces and the transition of the scene,and completes the basic functions of chess piece movement,general detection,regret chess,and replay.Artificial intelligence algorithms and evaluation functions are applied to the human-machine game module,and the difficulty of the game is distinguished according to the level of different groups of people.In the online game module,the client and server are designed and implemented,and on this basis,functions such as player matching and chess game synchronization are completed.After the basic functions of the system have been realized,a comprehensive functional test and performance test have been carried out on the system.The test results show that the indicators of all functional modules of the Chinese chess game have reached expectations.The Chinese chess game based on unity engine designed and implemented in this system can meet the needs of people’s game with machine and long-distance war on the network.The theoretical artificial intelligence research is applied to practical projects,which shortens the distance between people and makes contributions to the popularization and development of Chinese chess culture.
Keywords/Search Tags:Chinese chess, Artificial intelligence, Unity engine, Online game
Related items