copy GameApi.java