谁知道骑士飞行棋的代码?
骑士飞行棋游戏java代码java代码包s 1 Java . XML 1;导入Java . util . *;公共课游戏{扫描仪输入=新扫描仪(system . in);Map Map = new Map();int player pos 1 = 0;int player pos 2 = 0;int posint舒;int号;int I = 0;String[]goAndStop={"on "," on " };String[]playerName = new String[2];public void set role(){ boolean t69 = false;int role = 1;int role 1;System.out.println("※system . out . println("////");system . out . println("////");System.out.println("//骑士飞棋//");system . out . println("////");system . out . println("////");system . out . println(" \\ n \\ n \\ n \\ n \\ n ");系统。out . println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~do { t69 = false;系统。出去。println(" \ n \ t \ t \ t请选择一个角色:\n1:激进派三号(傲慢)\t2:布赞彬(忠诚)\t3:罗鹏(只为魏娟所爱)\n4:刘一(。System.out.print("请选择玩家1: \t)的角色);role = input . nextint();role 1 =角色;switch(role){ case 1:playername[0]= "根数三(未完成)";打破;案例二:playerName[0]=“buzan bin(忠男)”;打破;案例三:playerName[0]=“罗鹏(唯胡安独爱)”;打破;案例四:playerName[0]=“刘一(考考你的字)”;打破;案例五:playerName[0]=“李竹蓉(女生中的女主角)”;打破;案例六:playerName[0]=“炎龙(龙爷爷)”;打破;案例7: playerName[0]=“郝伊森(好好学习)”;打破;案例八:playerName[0]=“戴齐杰”;打破;案例9: playerName[0]=“杨欢(69朵珍稀花卉)”;打破;Default: System.out.print("\n为T69争光!人人有责!请重新选择!”);t69 =真;} } while(t69);Do{ System.out.print("请选择玩家2的角色:\ t ");role = input . nextint();If (role = = role 1) {system。out.println("玩家2不能选择与玩家1相同的角色!");} switch(role){ case 1:playername[1]= "根数三(未完成)";打破;案例二:playerName[1]=“卜赞斌(忠男)”;打破;案例三:playerName[1]=“罗鹏(唯胡安独爱)”;打破;案例四:playerName[1]=“刘一(考考你的字)”;打破;案例五:playerName[1]=“李竹蓉(女生中的女主角)”;打破;案例六:playerName[1]=“炎龙(龙大公)”;打破;案例7: playerName[1]=“郝(好好学习)”;打破;案例八:playerName[1]=“戴(策划专家)”;打破;案例九:playerName[1]=“杨欢(69朵珍稀花卉)”;打破;默认:System.out.print("为T69争光!人人有责!请重新选择!”);} } while(role = = role 1 | | role & gt;9 | |角色& lt=0);System.out.println("玩家1选择角色:\ t "+Player name[0]);System.out.println("玩家2选择角色:\ t "+playerName[1]);system . out . println(" Look:\ t \ t "+playername[0]+"←Vs→"+playername[1]+" \ t \ t的生死决斗!");} public void play(){ system . out . println(" \ n \ n \ n \ n ");system . out . println(" \ n \ n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \ n ");System.out.println("游览开始\ n ");system . out . println(" * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \ n \ n ");系统。out . println(" _ "+玩家姓名[0]+"骑兵:士兵");系统。out . println(" _ "+playername[1]+"骑兵:卒\ n ");系统。out . println(" \ n gend:\ t:命运之轮\t★: Mine \t■:暂停\t〓:时间隧道\ t∶normal \ n ");map . player pos 1 = player pos 1;map . player pos 2 = player pos 2;map . show map();//游戏开始的同时(player pos 1 & lt+0;= 99){ pos = 99;} int []luckyTurn={9,25,40,55,71,88 };int[]雷迪={6,19,27,38,50,66,75,83,91 };int []zanTing={11,48,63,82 };int[]时空隧道={10,23,36,52,69,80 };int[]map = new int[100];for(I = 0;我