简简单单的特种兵对战
package Arms;
import java.util.Scanner;
public class Flow {
Scanner in = new Scanner(System.in);
String PalyName;
String Npc[] = {"猎豹战神", "乌鸦大人", "机械King"};
int blood[] = {100, 100};//1.玩家血量 2.npc血量
boolean isGun = true;
int choose;
int Bullet[] = {30, 30};//1.玩家子弹初始量 2.npc子弹初始量
int cutBlood = (int) (Math.random() * 10) + 1;
int cutBlood2 = (int) (Math.random() * 10) + 1;
public void Flow1() {
System.out.println("**********战前准备***********");
//System.out.println(cutBlood);
System.out.print("请输入昵称: ");
PalyName = in.next();
System.out.print("1." + Npc[0] + "2." + Npc[1] + "3." + Npc[2] + "请选择对战玩家(1~3):");
choose = in.nextInt();
if (choose == 1) {
Flow2();