Bugfix

if (time < timeAllowed && playerAlive) would've said the player won every time, changed back to if (time < timeAllowed)