fixed game over and separated winner? functions