Fixed live checker & end of game function