win loose console game logic updated