gametest.java
来自「a game of java program write. the game i」· Java 代码 · 共 15 行
JAVA
15 行
public class GameTest{
public static void main(String arg[]){
Game g = new Game();
int a =0;
//System.out.print(g.card[0]);
for(int i=1;i<6;i++){
System.out.printf("Round %d\n",i);
System.out.print("Given Two Cards\n");
//g.play();
if(g.play()==true)
a++;
}
System.out.printf("You have won %d game(s)\n",a);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?