commit java game