Give the player a concept of health, UI and in code. This implies making something damage them too. Like Lava