added win clause for game