From a9f7086f9cff74c06a633a2a92ca3a1116f5ab06 Mon Sep 17 00:00:00 2001 From: Jahn Date: Fri, 28 Feb 2025 02:23:59 -0500 Subject: [PATCH] Add flow examples. --- README.md | 1 + flow/README.md | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8938205..818cd28 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Please remove this preface when you fork it. Leave a link if you'd like but it's # Index Truthfully non-linear, but in a loose order of priority. +## The Game 1. [Game Pitch/Synopsis](pitch/README.md) 2. [Game Flow](flow/README.md) 3. [Game Systems](systems/README.md) diff --git a/flow/README.md b/flow/README.md index b2f05ae..8e34f85 100644 --- a/flow/README.md +++ b/flow/README.md @@ -2,6 +2,11 @@ You can use Mermaid to conceptualize a game flow here, if needed/desired. +Examples: +* [Arcade Example](#arcade-example) +* [Magic The Gathering Turn example](#magic-the-gathering-turn-example) + +## Arcade Example ```mermaid flowchart TD A[Deposit Coin] --> B[Credit >= 1] @@ -11,4 +16,21 @@ E --> F[Die] F --> G[Retry?] G -- "No" --> I[Highscore] G -- "Yes" --> A -``` \ No newline at end of file +``` + +## Magic The Gathering Turn Example +```mermaid +flowchart TD +A[Begin phase] --> B[Main phase] --> C[Combat phase] --> B --> D[End phase] +``` +### Phases + +* Begin phase + * Untap lands and creatures + * Draw a card +* Main phase + * Play a land (one per turn) + * Cast creatures and/or sorceries +* End + * Your creatures heal + * Pass the turn to opponent \ No newline at end of file