win/lose conditions added
nit