Thanks for the comment TheRzeper :_)
We are a group of 4 people and the system of hearts is quite simple, it is an array of 3 images, every time you lose a life the last index of the array is hidden.
thank for the answer, I admire you with how detailed the game is and that there isn't any bug (i haven't found any)