z-logo
open-access-imgOpen Access
Six-in-a-Row Artificial Intelligence Design and Its Implementation Based on Java
Author(s) -
Liujue Zhang
Publication year - 2021
Publication title -
computer and information science
Language(s) - English
Resource type - Journals
eISSN - 1913-8997
pISSN - 1913-8989
DOI - 10.5539/cis.v14n4p47
Subject(s) - computer science , java , table (database) , artificial intelligence , point (geometry) , programming language , function (biology) , machine learning , data mining , geometry , mathematics , evolutionary biology , biology
We can use java language to design the game of chess on eclipse platform and design a new rule for it : “Six in a Row”, this game is more complex than Five-in-a-Row,and we can add a function of Man-Machine Battle in the program.This paper which based on the practical programming experience introduce the algorithm of the above game. The basic mentality of the algorithm is creating a scoring table and all points of the chessboard are scored by using ergodic method.Finally, the machine will placing the chess in the point which have the highest score.This algorithm is clearly operable, and the machine has a high rate of winning when play with human.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here