Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

CardState vs ZONE confusing code? #105

@muyufan

Description

@muyufan

I see below code in GameState.ts:
export type CardState = 'DECK' | 'HAND' | 'OTHERS';
but, actully, HS does not have card state like this, according to:
https://hearthsim.info/docs/gamestate-protocol/

DECK, HAND are actully ZONE, what is OTHERS?, thre is also no PLAY zone in GameState.ts: which is most importent battlefield ZONE

maybe I'm still new to here, but it's kind of confusing code for me.

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