---
# System prepended metadata

title: 遊戲Diagram

---

# 遊戲Diagram

[Reference](https://hackmd.io/c/codimd-documentation/%2F%40codimd%2Fextra-supported-syntax)

## First Flowchart


```flow
st=>start: Start
e=>end: End
op=>operation: My Operation
op2=>operation: lalala
cond=>condition: Earn alpha-certificate?
check=>condition: User with decision?

st->check->op->op2->cond
check(yes)->op
check(no)->cond
cond(yes)->e
cond(no)->op2
```

## Second Flowchart
```flow
st=>start: Go!
e=>end: Goal!

st->e
```

```flow
st=>start: Start|past:>http://www.google.com[blank]
e=>end: End|future:>http://www.google.com
op1=>operation: My Operation|past
op2=>operation: Stuff|current
sub1=>subroutine: My Subroutine|invalid
cond=>condition: Yes
or No?|approved:>http://www.google.com
c2=>condition: Good idea|rejected
io=>inputoutput: catch something...|future

st->op1(right)->cond
cond(yes, right)->c2
cond(no)->sub1(left)->op1
c2(yes)->io->e
c2(no)->op2->e
```


```mermaid
gantt
    title A Gantt Diagram

    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    anther task      : 24d
```

```mermaid
 classDiagram
      Animal <|-- Duck
      Animal <|-- Fish
      Animal <|-- Zebra
      Animal <|-- Cat
      Animal : +int age
      Animal : +String gender
      Animal: +isMammal()
      Animal: +mate()
      class Cat{
      +int cute
      +meow()
      }
      class Duck{
          +String beakColor
          +swim()
          +quack()
      }
      class Fish{
          -int sizeInFeet
          -canEat()
      }
      class Zebra{
          +bool is_wild
          +run()
      }
```


[Documentation](https://mermaid-js.github.io/mermaid/#/classDiagram)
```mermaid
 classDiagram
      存在 <|-- 鴨子
      存在 <|-- Fish
      存在 <|-- Zebra
      存在 <|-- Cat
      存在 : +int age
      存在 : +String gender
      存在: +isMammal()
      存在: +mate()
      class Cat{
      +int cute
      +meow()
      }
      class 鴨子{
          +String beakColor
          +swim()
          +quack()
      }
      class Fish{
          -int sizeInFeet
          -canEat()
      }
      class Zebra{
          +bool is_wild
          +run()
      }
```

## Dialogue

```sequence
Alice->Bob: У тебя́ есть лу́чший друг?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Note left of Alice: Alice responds
Alice->Bob: Where have you been?
```