8000 GitHub - feetuh/card_engine_pp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feetuh/card_engine_pp

Repository files navigation

card_engine_pp

This is the card_engine_pp project.

Building and installing

See the BUILDING document.

Contributing

See the CONTRIBUTING document.

Licensing

Design Ideas

Notice that Turn to CheckState have the same flow. It seems that we might be able to define a card game by utilising Turn -> CheckState for all transitions. The transition should specify what player can take the action, who the next action taker is, what the board state requires for this action to be valid.

stateDiagram-v2
[*] --> SetupGame
    SetupGame --> Round: Start

    Round --> [*]: EndGame 
    Round --> Turn: StartRound
    Turn --> EvaluationStep : Operation

    EvaluationStep --> EvaluationStep: PostOperation
    EvaluationStep --> Turn: WaitForNextTurn
    EvaluationStep --> CalculateScore: IsWin

    CalculateScore --> Round: EndRound


# note right of EvaluationStep : This is the note to the left.

Loading

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0