Рет қаралды 1,772
In this tutorial, we look at how to create a health bar using chr() and variables. We will create a function that can be called throughout the text-based game and can update as the player's health changes. This can also be used for inventory amounts and other counter types.
Link to chr() codes for Python - python-tcod.re...