Pure JS code to achieve Gobang, but there are some defects in the algorithm, the algorithm to determine the winning and losing and the algorithm to determine the order of black and white chess, in the realization of human-computer algorithm has a big defect