Thank you! You lose when you have no items in your inventory and the machine. Basically, winning chance is the chance to win an item from the machine (yellow one), and breaking chance is the chance to break the machine (red one), goal is to break as much machines as possible.