extract a player 1 win query method
extract a player 2 win query method
extract an all square query method