my java game test code