Skip to content

get_most_fish() causes Type error #18

@tms-hl

Description

@tms-hl

If a field is occupied by a player, the method get_most_fish of Board throws:

TypeError: '<' not supported between instances of 'NoneType' and 'int'

Reason: The field list is sorted using get_fish(). get_fish returns None if the field is occupied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions