use jmonkey + java to write a AI game