From 2bd5655085fee02e08b75cb25fd3e6f6aec926af Mon Sep 17 00:00:00 2001 From: peam8y43l <3421917108@qq.com> Date: Sat, 13 Apr 2024 20:46:16 +0800 Subject: [PATCH] Delete 'src/Test.java' --- src/Test.java | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/Test.java diff --git a/src/Test.java b/src/Test.java deleted file mode 100644 index b786e56..0000000 --- a/src/Test.java +++ /dev/null @@ -1,24 +0,0 @@ -package impl; - -import javax.swing.*; - -public class Test { - public static void main(String[] args) { - Object[] objects={"人人对战","人机对战"}; - int a = JOptionPane.showOptionDialog(null,"请选择游戏模式","请选择",JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE,null, objects, objects[0]); - System.out.println(a); - SoundPlayer player = new SoundPlayer("music01.wav"); - player.play(); - if (a == 0){ - MyJFrame mj = new MyJFrame(); - mj.myJFrame(); - }else if (a == 1){ - MyJFrame_AI mjAI = new MyJFrame_AI(); - mjAI.myJFrame(); - }else{ - System.exit(0); - } - } -} - -