(self)
return self.possible_moves() == []
The game is considered over when someone cannot play. That
        may not be the actual rule but it is simpler to code :). Of
        course it would be possible to implement that a player can pass
        if it cannot play (by adding the move 'pass')
The game is considered over when someone cannot play. That
        may not be the actual rule but it is simpler to code :). Of
        course it would be possible to implement that a player can pass
        if it cannot play (by adding the move 'pass')
The game is considered over when someone cannot play . That may not be the actual rule but it is simpler to code : ) . Of course it would be possible to implement that a player can pass if it cannot play ( by adding the move pass )
def is_over(self):
        """The game is considered over when someone cannot play. That
        may not be the actual rule but it is simpler to code :). Of
        course it would be possible to implement that a player can pass
        if it cannot play (by adding the move 'pass')"""
        return self.possible_moves() == []
def is_over ( self ) : return self . possible_moves ( ) == [ ]