Verse Library verse

01 Fragment

Maps logical connections between timers, score managers, and end-game devices to orchestrate match progression.

verse-library/add-devices-to-control-the-game-state/01-fragment.verse

// This is not code, but a map of your devices!

[Timer Device]
   |
   | (Sends signal when time is up)
   v
[End Game Device]
   |
   | (Stops the match)
   v
[Game Over Screen]

[Score Manager]
   |
   | (Adds 50 points per second left)
   v
[Player's Score]

Comments

    Sign in to vote, comment, or suggest an edit. Sign in