Added the win/lose system.