spicylobstergames / shotcaller-minigene

A moddable RTS/MOBA game made with bracket-lib and minigene.
https://www.notion.so/erlendsh/Shotcaller-7374d2b2819c42ccb40f01dc7089d419
Other
152 stars 12 forks source link

Console output for key actions #52

Open erlend-sh opened 3 years ago

erlend-sh commented 3 years ago

All the most important stuff that happens in the game should be alternatively parseable by means of a written-word console panel.

image

A great example: https://github.com/Adam-Diehl/rust_strategy_rpg

# --- ROUND 1 --- #
The Good Archer is attacking The Dragon! The Dragon took 20000 points of damage (78% HP remaining).
The Good Archer is attacking The Evil Swordsman! The Evil Swordsman took 20000 points of damage (73% HP remaining).
The Good Swordsman is attacking The Dragon! The Dragon took 12000 points of damage (64% HP remaining).
The Good Swordsman is attacking The Evil Tank! The Evil Tank took 12000 points of damage (83% HP remaining).
The Evil Swordsman is attacking The Good Tank! The Good Tank took 8000 points of damage (87% HP remaining).
The Evil Tank is attacking The Good Tank! Critical hit! The Good Tank took 14000 points of damage (63% HP remaining).
The Good Rogue is attacking The Evil Mage! The Evil Mage took 18500 points of damage (59% HP remaining).
The Good Tank is attacking The Dragon! The Dragon took 7000 points of damage (57% HP remaining).
The Dragon is attacking The Good Tank! Critical hit! The Good Tank took 10000 points of damage (47% HP remaining).
The Dragon is attacking The Good Swordsman! The Good Swordsman took 5000 points of damage (88% HP remaining).
The Dragon is attacking The Good Rogue! The Good Rogue took 5000 points of damage (92% HP remaining).
The Dragon is attacking The Good Archer! The Good Archer took 5000 points of damage (80% HP remaining).
The Evil Mage is attacking The Good Tank! The Good Tank took 12000 points of damage (27% HP remaining).
The Evil Mage is attacking The Good Swordsman! The Good Swordsman took 12000 points of damage (57% HP remaining).
The Evil Mage is attacking The Good Rogue! Critical hit! The Good Rogue took 24000 points of damage (55% HP remaining).
The Evil Mage is attacking The Good Archer! The Good Archer took 12000 points of damage (32% HP remaining).

# --- ROUND 2 --- #
The Good Archer is attacking The Dragon! Critical hit! The Dragon took 40000 points of damage (12% HP remaining).
The Good Archer is attacking The Evil Swordsman! The Evil Swordsman took 20000 points of damage (47% HP remaining).
The Good Swordsman is attacking The Dragon! The Dragon took 12000 points of damage (0% HP remaining).
The Dragon died!
The Good Swordsman is attacking The Evil Tank! The Evil Tank took 12000 points of damage (66% HP remaining).
The Evil Swordsman is attacking The Good Tank! The Good Tank took 8000 points of damage (13% HP remaining).
The Evil Tank is attacking The Good Tank! The Good Tank took 7000 points of damage (2% HP remaining).
The Good Rogue is attacking The Evil Mage! The Evil Mage took 18500 points of damage (18% HP remaining).
The Good Tank is attacking The Evil Tank! The Evil Tank took 7000 points of damage (56% HP remaining).
The Evil Mage is attacking The Good Tank! The Good Tank took 12000 points of damage (0% HP remaining).
The Good Tank died!
The Evil Mage is attacking The Good Swordsman! Critical hit! The Good Swordsman took 24000 points of damage (0% HP remaining).
The Good Swordsman died!
The Evil Mage is attacking The Good Rogue! The Good Rogue took 12000 points of damage (37% HP remaining).
The Evil Mage is attacking The Good Archer! The Good Archer took 12000 points of damage (0% HP remaining).
The Good Archer died!
AnneKitsune commented 3 years ago

We should probably make two versions: One that is easy to parse (debug output of events) and one that is easy to read (custom formatted output of events).