FrontGame in Java