Skip to content

Value can never 1 #35

Open
Open

Description

@Satokaheni

Line 116 of funcs.py I'm not sure value can ever be 1 based on how you've defined it in game.py. Based on game.py function _getValue it can only ever be -1 or 0.

Activity

  1. KUEE1080 commented on Nov 16, 2019

    @KUEE1080

    I also think value can never be 1. Has anyone fixed this issue?

  2. hccho2 commented on Jan 13, 2020

    @hccho2

    If the game is over on your turn, you lost the game because the game was over by the action immediately before it.

    So value is always -1.

    It is not a bug, but the codes for value=1 are redundant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions