lambient86 / sea-of-fortune

2 stars 5 forks source link

added function for check player health #43

Closed annaloggg closed 1 week ago

annaloggg commented 1 week ago

Added function that checks player health. If health reaches 0 panic and exit. Within function, there is a test that decrements health every second and then exits