polishing game_rules and board, now game_rules knows who is the current player; reducing duplication in minimax