Skip to content

Instantly share code, notes, and snippets.

@joeybaumgartner
Created January 9, 2024 01:32
Show Gist options
  • Save joeybaumgartner/3b2c68f167794cbd6d98d81cbd183233 to your computer and use it in GitHub Desktop.
Save joeybaumgartner/3b2c68f167794cbd6d98d81cbd183233 to your computer and use it in GitHub Desktop.
Dreamphone Game Logic Flow Cahrt
flowchart TB
    Identifier_Text
    A((Start Button Pressed))-->B(RNG New Crush)
    B-->C("Prompt for number of players")
    C-->D[["Name Players"]]
    D-->E{Game Won?}
    E-- No -->F("Prompt for Choice")
    F-- Dial -->G[Dial]
    F-- Notepad -->H[Notepad]
    F-- PvP -->I[PvP]
    F-- Solve -->J[Solve]
    H-->K[[Show Notepad]]
    K-->F
    G-->L[Prompt for Boy to Dial]
    L-->L1{Is Card Cursed?}
    L1-- No -->M[Reveal Clue]
    L1-- Yes -->Curse[Display Curse]
    Curse-->Hangup[Hangup Action]
    Curse-->ShareSecret[Share Secret Action]
    Curse-->Speakerphone[Take Speakerphone Action]
    M-->N[Discard Card]
    N-->O[Draw New Card]
    O-->F
    I-->P[Prompt for PvP Choice]
    P-->Q[Hang Up]
    P-->R[Share Secret]
    P-->S[Speakerphone]
    Q-->T[Select Player]
    T-->U[Select Card]
    U-->F
    S-->T
    R-->T
    J-->W{Player Already Guessed}
    W-- Yes -->F
    W-- No -->X{Guessed Correctly?}
    X-- Yes -->Z((End Game))
    X-- No -->F
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment