Update GameDetector.java