Font Size: a A A

The Design And Realization Of Tibetan Fish Chess System

Posted on:2022-09-06Degree:MasterType:Thesis
Country:ChinaCandidate:Z YaoFull Text:PDF
GTID:2518306482473244Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
The Tibetan fish chess game is mainly spread in my country's Gansu,Sichuan and Qinghai-Tibet Plateau regions.It is a traditional chess game.Its rules are divided into layout phases and game phases.The rules of the game are similar to those of Go,and the scale and difficulty are smaller than those of Go.At this stage,there are few useful electronic online Tibetan chess game systems.Therefore,if one starts with the relatively simple rules of Tibetan fish chess,developing a Tibetan fish chess online system with game functions for better mining,inheritance and promotion Tibetan chess culture is of great significance to provide an intelligent Tibetan chess intellectual game platform for Tibetan chess enthusiasts,and to allow other ethnic groups to understand Tibetan traditional chess while promoting cultural exchanges between different ethnic groups.By analyzing the rules of Tibetan fish chess,such as moves and catching pieces,this paper develops a two-player Tibetan fish chess game system.At the same time,we propose a rule-based online human-computer gaming method to realize the Tibetan fish chess online system.The main content of the paper includes:(1)Completed the design of the online Tibetan fish chess system framework,including the Tibetan fish chess online game module and the man-machine game system module.Each module includes the game start function,the automatic game judgment function,the background configuring function,and the Tibetan-Chinese-English trilingual.Interface settings,etc.Each system module includes a network communication module and a game record synchronization update module,which is responsible for the real-time out-of-game transmission and synchronization update of the front and back game record data respectively.(2)According to the rules of the Tibetan fish chess game and the requirements of the online fish chess man-machine game system,the automatic drawing algorithm of chessboard and chess pieces,move algorithm,capture algorithm,win or lose algorithm,and chessboard information network synchronization update algorithm are designed and implemented.The move algorithm is implemented based on shifts in different directions.The capture algorithm is implemented by enclosing the opponent's pieces in an angle,and the judgment of winning or losing is realized by judging that there is only one piece left on one side.During the game,the IO stream socket technology is used to realize the synchronization update algorithm of the chessboard information network.These algorithms effectively solve the core technology of the fish chess system.(3)The Tibetan fish chess game system has been realized,including an online two-player game system and a man-machine game system.Each system includes a front-end and a back-end module.The front-end is accessed through a Web page,which realizes the interactive switching function and music playback functions of Chinese,Tibetan and English.The background consists of various algorithms based on the Bootstrap architecture,especially,in the man-machine game module,which implements a rule-based automatic machine move algorithm.After many times of testing the overall performance of the system,good results have been presented,and thus can satisfy people who speak English,Chinese,and Tibetan.The intelligence,speed and ease of use of the system have met the requirements for application.
Keywords/Search Tags:Tibetan fish chess, Two-player game, Man-machine game, Tibetan chess, Chess algorithm
PDF Full Text Request
Related items