package edu.xcdq;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
System.out.println("欢迎进入游戏平台");
System.out.println("请选择您喜爱的游戏:");
System.out.println("************************************");
System.out.println("1.斗地主");
System.out.println("2.斗牛");
System.out.println("3.泡泡龙");
System.out.println("4.连连看");
System.out.println("************************************");
System.out.println("请选择,输入数字:");
Scanner scanner =new Scanner(System.in);
int shuzi = scanner.nextInt();
switch (shuzi){
case 1 :
System.out.println("欢迎进入斗地主房间!");
break;
case 2:
System.out.println("欢迎进入斗牛房间!");
break;
case 3:
System.out.println("欢迎进入泡泡龙房间!");
break;
case 4:
System.out.println("欢迎进入连连看房间!");
break;
}
}
}