Added end of game detection to local mode