Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Classes:
- human:
- - punya hp
- - punya attack
- - punya name
- 1. warrior (is a human)
- - punya attack multiplier X, jadi 1 serangannya X * attack
- 2. mage (is a human)
- - attack powernya jadi healing power
- 3. Rogue(is a human)
- interaction:
- 1. warrior:
- - Ketemu warrior lain atau rogue: diserang
- - Ketemu mage: di heal (+hp)
- 2. mage:
- - Ketemu warrior atau rogue: ga diapa-apain
- - Ketemu mage lain: diserang
- 3. rogue:
- - Ketemu warrior: ga diapa-apain
- - Ketemu mage: di heal (+hp)
- - Ketemu rogue lain: diserang.
- 3. mage A ketemu mage B:
- mage A: diserang mage b
- Flow:
- Ada 3 operasi:
- 1. add character (name, class, hp, attack)
- 2. interact character A, character B. (A, B = namanya)
- 3. print info character A (A = namanya)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement