wrote game existence checking
minor changes