trying to develop a way of losing and winning the game