if game is over then getAllPossibleMoves return an empty list