game for challenge A.I.(written in Java)