question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add warrior score next to its health when printing the play log

See original GitHub issue

It could be a good addition to see the current score of the warrior in the play log. Example:

--------------------------------------- turn 005 ---------------------------------------
♥ 14
⬥ 0
╔════════╗
║   @s  >║
╚════════╝
> Spartacus attacks forward and hits Sludge
> Sludge takes 5 damage, 2 health power left
> Sludge attacks forward and hits Spartacus
> Spartacus takes 3 damage, 14 health power left
--------------------------------------- turn 006 ---------------------------------------
♥ 14
⬥ 12
╔════════╗
║   @   >║
╚════════╝
> Spartacus attacks forward and hits Sludge
> Sludge takes 5 damage, 0 health power left
> Sludge dies
> Spartacus earns 12 points
--------------------------------------- turn 007 ---------------------------------------
♥ 14
⬥ 12
╔════════╗
║    @  >║
╚════════╝
> Spartacus walks forward

To make that possible, the core will need to include the unit’s score along with the currently included fields.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
olisticcommented, May 11, 2018

@RascalTwo I’m going to update the GIF later, but I already added a screenshot to the homepage that shows your change!

1reaction
RascalTwocommented, May 11, 2018

Regular yellow is already being used, see the captive being unbound. Figured you wanted to have as many elements uniquely coloured.


Having the health bright red should be better, I’ll make the PR tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Brooklyn Nets score 91 points in first half vs. Golden State ...
The Brooklyn Nets rang up 91 points Wednesday night in the first half against Golden State, the third-highest total in NBA history.
Read more >
Warriors avert disaster on home court, fend off Hornets
Klay Thompson scored 29 points, Jordan Poole added 24 and Jonathan Kuminga came in clutch in the fourth to help the Warriors win...
Read more >
Nets score 91 in 1st half, wallop weary Warriors 143-113
Kevin Durant scored 23 points, all but two in a 91-point first half that was the third-biggest in NBA history, and the Brooklyn...
Read more >
Trash talk heats up in budding rift as Warriors top Grizzlies
The Warriors' Jordan Poole scored a team-high 32 points on 11-of-25 shooting from the field and was 7-of-8 from the free throw line...
Read more >
Klay Thompson scores 29, leads Warriors past Hornets 110-105
Klay Thompson scored 29 points and Kuminga delivered on both ends down the stretch, including a gutsy steal that helped the Golden State ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found