Can anyone give some insight to this question? I cross referenced a lot of sources by don't seem to get a grip on this question:
The Japanese game go-moku is played by two players “X†and “O†on a 19 × 19 grid. Players take turns placing markers on empty grid locations, and the first player to complete a line of 5 or more
consecutive markers (either horizontally, vertically, or diagonally) is the winner. This game can easily be generalized to any board size n × n. A “position†in such a game is any
representation of the n × n board where each location is either empty or contains one of the two players’ markers, together with an indication of which player moves next.
GM = {( B )|B is a position generalized go-muko, where player “X†has a winning strategy}
Give the algorithm that decides GM, and then argue that it is in PSPACE.
.