bosi-programming / Java-Text-Adventure

Basic CLI text adventure made with Java
https://bosifullstack.github.io/Java-Text-Adventure/index
0 stars 1 forks source link

Add color to the text messages #1

Closed bosi-programming closed 3 years ago

bosi-programming commented 3 years ago

Text messages right now are pretty boring. I think it would be good to add color to at least messages for damage done and damage taken.

Aritra-Mazumdar commented 3 years ago

Hi. Are you referring to printEffectText() of class PrintTables ??

bosi-programming commented 3 years ago

@Aritra-Mazumdar I think the easier way to do it would be by using ANSI escape code. But if you want to try doing it with printEffectText, feel free to do it. I can test it on my machine later to see how it looks like.