Skip to content

Reward computed incorrectly? #1

@hiszpanski

Description

@hiszpanski

In game-nothanks.py, when computing the reward, sum(self.playerhand) is subtracted from self.playercoin, shouldn't that be sum_hand(self.playerhand)? Otherwise, the reward increases for any card chosen, whereas in actuality cards that complete runs should result in greater rewards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions