java小游戏源代码 Java 小游戏 第一个Java 文件: import java.util.Scanner; public class GameA_B public static void main(String args) Scanner reader=new Scanner(System.in); int area; System.out.println(Game StartPlease enter the area:(1-9) + n+1,2,3 means easy+n+4,5,6 means middle+n+ 7,8,9 means hard+n+Please choose:); area=reader.nextInt(); switch(area-1)/3) case 0:System.out.println(You choose easy! );break; case 1:Syste