making sample java game