Write a winning or losing judgment system first, and then write a chess program.
All points are made up of an array.
Composition.
Rowset from 1 to 15.
Collection of rows from a to o
An array that forms a collection.
Then write a five-point judgment.
When judging, the number of flags must be after 10. Each player clicks once, then calls the winning or losing judgment and returns the result.
Also pay attention to some bugs, such as the logo can not be repeated at a point. You can also add some time limits, numbers under the national flag.
Wait, these are all gradually improved in the later period.