Java basics teamwork game