package zuoye;
import java.util.Scanner;
public class Zuoye {
public static void main(String[] args) {
System.out.println("******* 请输入您的选项: ********");
System.out.println("******* 1.开始游戏 2.注册游戏 3.联系客服 4.充值 5.退出游戏 ********");Scanner sc = new Scanner(System.in);
boolean loop = true;
while(loop){
int type = sc.nextInt();
loop=menu(type);
}