软件工程——个人项目:五子棋

实验报告

一丶设计摘要:

      通过本次五子棋的设计,实现对本学期内容的回顾与综合运用,包括类的建立,用类创建对象,方法的调用,图形组件的使用方法,图形界面的布局形式,事件处理机制,文件操作的基本方法,数据读写的基本用法、鼠标事件等。

    Java既是一种程序设计语言,也是一个完整的平台。作为一种程序语言,它简洁、面向对象、安全、健壮,以及适用于Internet技术;而作为一个平台(JRE,Java Runtime Environment,Java运行环境或者说是Java虚拟机),对于符合Sun公司Java标准的应用程序,都可以在Java平台上正确运行,与程序运行的操作系统无关。 这个五子棋游戏正是用这个平台做的,在实践中充分体现出了Java面向对象给我们带来的方便。

二丶功能需求:

    本次课程设计实现了五子棋程序的基本玩法,可以扫描棋盘记录连在一起的黑白棋子数,从而判断黑白棋子的胜负。

三丶源代码:

 
 

1.AutoPlay:public class AutoPlay{

            int x,y;

             void autoPlay(int chesspad[][],int a,int b){
             int randomNumber=(int)(Math.random()*8)+1;
           switch(randomNumber){
              case(1):
                   if(chesspad[a-1][b-1]==0)
                   {x=a-1;y=b-1;}
                   else if(chesspad[a-2][b-2]==0)
                   {x=a-2;y=b-2;}
                   else {x=a-3;y=b-3;}  
                   break;
                   
              case(2):
                   if(chesspad[a-1][b]==0)
                   {x=a-1;y=b;}
                   else if(chesspad[a-2][b]==0)
                   {x=a-2;y=b;}
                   else {x=a-3;y=b;}
                   break;
      case(3):
                   if(chesspad[a-1][b+1]==0)
                   {x=a-1;y=b+1;}
                   else if(chesspad[a-2][b+2]==0)
                   {x=a-2;y=b+2;}
                   else {x=a-3;y=b+3;}
                   break;
              case(4):
                   if(chesspad[a][b+1]==0)
                   {x=a;y=b+1;}
                   else if(chesspad[a][b+2]==0)
                   {x=a;y=b+2;}
                   else {x=a;y=b+3;}
                   break;
              case(5):
                    if(chesspad[a+1][b+1]==0)
                    {x=a+1;y=b+1;}
                    else if(chesspad[a+2][b+2]==0)
                    {x=a+2;y=b+2;}
                    else {x=a+3;y=b+3;}
                    break;
              case(6):
                    if(chesspad[a+1][b]==0)
                    {x=a+1;y=b;}
                    else  if(chesspad[a+2][b]==0)
                    {x=a+2;y=b;}
                    else {x=a+3;y=b;}
                    break;
              case(7):
                     if(chesspad[a+1][b-1]==0)
                     {x=a+1;y=b-1;}
                     else if(chesspad[a+2][b-2]==0)
                     {x=a+2;y=b-2;}
                     else {x=a+3;y=b-3;}
                     break;
              case(8):
                      if(chesspad[a][b-1]==0)
                      {x=a;y=b-1;}
                      else if(chesspad[a][b-2]==0)
                      {x=a;y=b-2;}
                      else{x=a;y=b+3;}
                      break;
             }
       }
 

}

2.Chess:
 import java.awt.*;
 import java.awt.event.*;
 class ChessPad extends Panel implements MouseListener,ActionListener{
    int array[][]=new int[19][19];
    Scan scanp=new Scan();
    Scan scanc=new Scan(); 
    AutoPlay autoPlay=new AutoPlay();
    Evaluate evaluatep=new Evaluate();
    Evaluate evaluatec=new Evaluate();
    Sort sort=new Sort();
    int i=0;
    int x=-1,y=-1,棋子颜色=1;
    Button button=new Button("重新开局");
    TextField text_1=new TextField("请黑棋下子"),
              text_2=new TextField(),
              text_3=new TextField();
    ChessPad(){
        setSize(440,440);
        setLayout(null);setBackground(Color.pink);
        addMouseListener(this);add(button);button.setBounds(10,5,60,26);
        button.addActionListener(this);
        add(text_1);  text_1.setBounds(90,5,90,24);
        add(text_2);  text_2.setBounds(290,5,90,24);
        add(text_3);  text_3.setBounds(200,5,80,24);
        for(int i=0;i<19;i++)
         for(int j=0;j<19;j++)
             {array[i][j]=0;}
        for(int i=0;i<19;i++)
         for(int j=0;j<19;j++)
          for(int h=0;h<5;h++)
             {scanp.shape[i][j][h]=0;
             scanc.shape[i][j][h]=0;} 
        text_1.setEditable(false);
        text_2.setEditable(false);
       
        }
     public void paint(Graphics g){
         for (int i=40;i<=400;i=i+20){
              g.drawLine(40,i,400,i);
              }
        
         for(int j=40;j<=400;j=j+20){
             g.drawLine(j,40,j,400);
             }
      
         g.fillOval(97,97,6,6);
         g.fillOval(337,97,6,6);
         g.fillOval(97,337,6,6);
         g.fillOval(337,337,6,6);
         g.fillOval(217,217,6,6);
         }
     public void mousePressed(MouseEvent e){
        int a=0,b=0;
        if(e.getModifiers()==InputEvent.BUTTON1_MASK){
              x=(int)e.getX();y=(int)e.getY();
              ChessPoint_black chesspoint_black=new ChessPoint_black(this);
              ChessPoint_white chesspoint_white=new ChessPoint_white(this);
              i++;
              text_3.setText("这是第"+i+"步");
  
         
          if((x+5)/20<2||(y+5)/20<2||(x-5)/20>19||(y-5)/20>19)
                {}
              else { a=(x+10)/20;b=(y+10)/20;
                     if(array[b-2][a-2]==0&&棋子颜色==1){
                        this.add(chesspoint_black);
                        chesspoint_black.setBounds(a*20-9,b*20-9,18,18);
                        棋子颜色=棋子颜色*(-1);
                        array[b-2][a-2]=1;
                        if (Judge.judge(array,1)){
                            text_1.setText("黑棋赢!");棋子颜色=2;removeMouseListener(this);}
                        else{
                            
                          
                             text_1.setText("");  }
                        }
                    }
               
                 
                
                
                    if(i>2&&棋子颜色==-1){
                        scanp.scan(array,1);
                        scanc.scan(array,-1);
                        sort.sort(scanp.shape);
                        sort.sort(scanc.shape);
                        evaluatep.evaluate(scanp.shape);
                        evaluatec.evaluate(scanc.shape);
                      
                        棋子颜色=棋子颜色*(-1);
                        this.add(chesspoint_white);
                        if(evaluatep.max>evaluatec.max){
                        text_2.setText(evaluatep.max_x+" "+evaluatep.max_y+" "+evaluatep.max);
                        chesspoint_white.setBounds((evaluatep.max_y+2)*20-9,(evaluatep.max_x+2)*20-9,18,18);
                        array[evaluatep.max_x][evaluatep.max_y]=-1;
                        text_1.setText("请黑棋下子");
                        for(int i=0;i<19;i++)
                          for(int j=0;j<19;j++)
                            for(int h=0;h<5;h++)
                              {scanp.shape[i][j][h]=0;
                               scanc.shape[i][j][h]=0;}
                        }
                        else
                       
                        {
                        text_2.setText(evaluatec.max_x+" "+evaluatec.max_y+" "+evaluatec.max);
                        chesspoint_white.setBounds((evaluatec.max_y+2)*20-9,(evaluatec.max_x+2)*20-9,18,18);
                       
                        array[evaluatec.max_x][evaluatec.max_y]=-1;
                        if (Judge.judge(array,-1))
                        {
                           text_2.setText("白棋赢!");棋子颜色=2;removeMouseListener(this);}
                        else{
                         
                           text_1.setText("请黑棋下子");
                        for(int i=0;i<19;i++)
                          for(int j=0;j<19;j++)
                            for(int h=0;h<5;h++)
                              {scanp.shape[i][j][h]=0;
                               scanc.shape[i][j][h]=0;}
                            }
                        }
                    }
                   
                    if(i<=2&&棋子颜色==-1)                         
                       {
                        autoPlay.autoPlay(array,b-2,a-2);
                        this.add(chesspoint_white);
                        棋子颜色=棋子颜色*(-1);
                        chesspoint_white.setBounds((autoPlay.y+2)*20-9,(autoPlay.x+2)*20-9,18,18);
                        array[autoPlay.x][autoPlay.y]=-1;
                        if (Judge.judge(array,-1))
                        {
                           text_2.setText("白棋赢!");棋子颜色=2;removeMouseListener(this);}
                        else{
                         
                           text_1.setText("请黑棋下子");
                           text_2.setText(autoPlay.x+" "+autoPlay.y); } 
                    } 
                                   
                    }
        }
  
 public void mouseReleased(MouseEvent e){}
 public void mouseEntered(MouseEvent e){}
 public void mouseExited(MouseEvent e){}
 public void mouseClicked(MouseEvent e){}            
 public void actionPerformed(ActionEvent e)
     {this.removeAll();
      棋子颜色=1;
      add(button);button.setBounds(10,5,60,26);
      add(text_1);text_1.setBounds(90,5,90,24);
      text_2.setText("");
      text_1.setText("请黑棋下子");
      add(text_2);
      text_2.setBounds(290,5,90,24);
      add(text_3);  text_3.setBounds(200,5,80,24);
      i=0;
      text_3.setText("这是第"+i+"步");
      for(int i=0;i<19;i++)
      for(int j=0;j<19;j++)
      {array[i][j]=0;}
      for(int i=0;i<19;i++)
        for(int j=0;j<19;j++)
          for(int h=0;h<5;h++)
             {scanp.shape[i][j][h]=0;
             scanc.shape[i][j][h]=0;}    
      addMouseListener(this);
      }
 }
 class ChessPoint_black extends Canvas implements MouseListener{
      ChessPad chesspad=null;
      ChessPoint_black(ChessPad p){
          setSize(20,20);
          addMouseListener(this);
          chesspad=p;
          }
      public void paint(Graphics g){
           g.setColor(Color.black);g.fillOval(0,0,18,18);
           }
      public void mousePressed(MouseEvent e){
           /*if(e.getModifiers()==InputEvent.BUTTON3_MASK){
                chesspad.remove(this);
                chesspad.棋子颜色=1;
                chesspad.text_2.setText("");  
                chesspad.text_1.setText("请黑棋下子");
                }*/
           }
       public void mouseReleased(MouseEvent e){}   
       public void mouseEntered(MouseEvent e){}   
       public void mouseExited(MouseEvent e){}   
       public void mouseClicked(MouseEvent e){
    
           }   
       }
 class ChessPoint_white extends Canvas implements MouseListener{
       ChessPad chesspad=null;
       ChessPoint_white(ChessPad p){
          setSize(20,20);addMouseListener(this);
          chesspad=p;
          }
      public void paint(Graphics g){
           g.setColor(Color.white);g.fillOval(0,0,18,18);
           }
      public void mousePressed(MouseEvent e){
           /*if(e.getModifiers()==InputEvent.BUTTON3_MASK){
                chesspad.remove(this);
                chesspad.棋子颜色=-1;
                chesspad.text_2.setText("请白棋下子");
                chesspad.text_1.setText("");
                }*/
           }
       public void mouseReleased(MouseEvent e){}   
       public void mouseEntered(MouseEvent e){}   
       public void mouseExited(MouseEvent e){}   
       public void mouseClicked(MouseEvent e){
        
           }   
       }
 public class Chess extends Frame{
   
     ChessPad chesspad=new ChessPad();
  
  
     Chess(){
         setVisible(true);
         setLayout(null);
         Label label=new Label("五子棋",Label.CENTER);
         add(label);label.setBounds(70,55,440,26);
         label.setBackground(Color.orange);
         add(chesspad);chesspad.setBounds(70,90,440,440);
         addWindowListener(new WindowAdapter()
               {public void windowClosing(WindowEvent e)
                    {System.exit(0);}
                    });
              
         pack();setSize(600,550);
   
         }
      public static void main(String args[]){
          Chess chess=new Chess();
      
     }
 }
 3.Evaluate:public class Evaluate{
     int max_x,max_y,max;
    
    
    
     public void evaluate(int shape[][][]){
        int i=0,j=0;
         
        for(i=0;i<19;i++)
          for(j=0;j<19;j++){
                                 
           
                 switch(shape[i][j][0]) {
                     case 5:
                         shape[i][j][4]=200;
                         break;
                     case 4:
                          switch(shape[i][j][1]){
                               case 4:
                                   shape[i][j][4]=150+shape[i][j][2]+
                                                      shape[i][j][3];
                                  
                                   break;   
                               case 3:
                                   shape[i][j][4]=100+
                                                     shape[i][j][2]+
                                                     shape[i][j][3];
                                   break;
                               default:
                                   shape[i][j][4]=50+
                                                     shape[i][j][2]+  
                                shape[i][j][3];
                              
                          }
                          break;
                     case 3:
                           switch(shape[i][j][1]){
                                case 3:
                                     shape[i][j][4]=75+
                                                     shape[i][j][2]+
                                                     shape[i][j][3];
                                      break;             
                                default:
                                      shape[i][j][4]=20+
                                                     shape[i][j][2]+  
                                shape[i][j][3];
                            }
                            break;
                    case 2:
                          shape[i][j][4]=10+shape[i][j][1]
                                                       +shape[i][j][2]  
                                  +shape[i][j][3];
                          break;
                    case 1:
                          shape[i][j][4]=shape[i][j][0]+shape[i][j][1]
                                                       +shape[i][j][2]  
                                  +shape[i][j][3];
                    default : shape[i][j][4]=0;                     
                   }  
              }      
     
      int x=0,y=0;
      max=0;
      for(x=0;x<19;x++)
          for(y=0;y<19;y++)
             if(max<shape[x][y][4]){  
                max=shape[x][y][4]; 
                max_x=x;max_y=y;}    
      }
 }
 4.Judge:public class Judge{
   
     static boolean judge(int a[][],int color){
    
       int i,j,flag;
       for(i=0;i<19;i++){
           flag=0;
           for(j=0;j<19;j++)
               if(a[i][j]==color){  
                  flag++;
                  if (flag==5)
                    return true;}
              else   flag=0;
          
       }         
       for(j=0;j<19;j++){
            flag=0;
            for(i=0;i<19;i++)
                if(a[i][j]==color)
                {flag++;
                if(flag==5)
                    return true;}
                else flag=0;
           }
       for(j=4;j<19;j++){
           flag=0;  int m=j;
           for(i=0;i<=j;i++){
            
             
              if(a[i][m--]==color){
                   flag++;
                   if(flag==5)
                   return true;}
                   else flag=0;}
           }         
       for(j=14;j>=0;j--){
           flag=0;  int m=j;
           for(i=0;i<=18-j;i++){
            
               if(a[i][m++]==color){
                   flag++;
                   if(flag==5)
                   return true;}
                   else flag=0;}
           }          
       for(i=14;i>=0;i--){
           flag=0;    int n=i;
           for(j=0;j<19-i;j++){
          
               if(a[n++][j]==color){
                   flag++;
                   if(flag==5)
                   return true;}
                   else flag=0;}
           }         
        for(j=14;j>=0;j--){
           flag=0; int m=j;
           for(i=18;i>=j;i--){
            
              if(a[i][m++]==color){
                   flag++;
                   if(flag==5)
                   return true;}
                   else flag=0;}
           }                
  
        return false;}  
    }
 5.Scan:public class Scan{
    
  
      int shape[][][]=new int[19][19][5];
  
     
      void scan(int chesspad[][],int colour){
         int i,j;
  
         for(i=0;i<=18;i++)
              for(j=0;j<=18;j++)
                   if(chesspad[i][j]==0){
                            int m=i,n=j;
                        
                        
                                   
                                
                             
                                    while(n-1>=0&&chesspad[m][--n]==colour){
                                            shape[i][j][0]++;
                                           }
                                    n=j;
                                    while(n+1<=18&&chesspad[m][++n]==colour){
                                           shape[i][j][0]++;
                                           }
                                         
                                  
                                    n=j;
                                    while(m-1>=0&&chesspad[--m][n]==colour){
                                            shape[i][j][1]++;
                                           }
       m=i;
                                    while(m+1<=18&&chesspad[++m][n]==colour){
                                            shape[i][j][1]++;
                                           }
                                  
                                        
                                    m=i;
                                    while(m-1>=0&&n+1<=18&&chesspad[--m][++n]==colour){
                                            shape[i][j][2]++;
                                            }
                      m=i;n=j;
    while(m+1<=18&&n-1>=0&&chesspad[++m][--n]==colour){
                                             shape[i][j][2]++;
                                            }
                    
                                    m=i;n=j;
                                  
    while(m-1>=0&&n-1>=0&&chesspad[--m][--n]==colour){
                                            shape[i][j][3]++;
                                            }
                      m=i;n=j;
    while(m+1<=18&&n+1<=18&&chesspad[++m][++n]==colour){
                                            shape[i][j][3]++;
                                            }
    }    
 }    
 }
 6.   Sort: public class Sort{
  
  
   public void sort(int shape[][][]){
  
        int temp; 
        for(int i=0;i<19;i++)
          for(int j=0;j<19;j++){
                                 
                      for(int h=1;h<=4;h++){
                      for(int w=3;w>=h;w--){
                      if(shape[i][j][w-1]<shape[i][j][w]){
                      temp=shape[i][j][w-1];
                      shape[i][j][w-1]=shape[i][j][w];
                      shape[i][j][w]=temp;
                      }
                 }
             }
        }
    }
 

}

 

四丶程序截图:

 

五丶实验心得:

通过此次课程设计,将我本学期所学的java知识得到巩固和应用,在设计的过程中,我遇到了很多问题,不过在老师和同学们的帮助和自己的思考下得到了解决。在这次课程设计中,综合运用了知识,包括类的创建,构造方法和方法等知识。由于自己的分析设计和程序经验不足,该系统设计和实现过程有诸多不足,比如用户界面不够美观等等,这些有待进行进一步完善和提高。对于文中出现的不足和系统出现的问题,敬请老师指导。

源代码地址链接:https://github.com/zgw123    test目录下个人项目里

转载于:https://www.cnblogs.com/tibosi/p/4466554.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
#include<graphics.h> #include<conio.h> #include <mmsystem.h> #pragma comment(lib,"winmm.lib") void Beginning(); //开始图片 void Background(); //显示背景 void ShowPlate(); //显示棋盘 void PlayGame(); //玩游戏 void Judgewin(int,int); //判断输赢 void Blackwin(); //黑棋赢 void Whitewin(); //白棋赢 bool flag=true; //走棋顺序 int piece[16][16]; //棋子变量 int ti,tj; int f=1; void main() { for(int i=0;i<16;i++) for(int j=0;j<16;j++) piece[i][j]=0; //初始化棋子变量 initgraph(965,642); //设置窗口大小 mciSendString("play 2.mp3",0,0,0);//播放背景音乐 Background(); //显示背景 PlayGame(); //玩游戏 getch(); //保持窗口开着 } void Background() { IMAGE img; getimage(&img, "2.jpg"); putimage(0,0, &img); //设置背景图片 } void ShowPlate() { setfillstyle(RGB(213,176,146)); bar(270,30,730,490); //棋盘大小 for(int x=290,y=50;x<=710,y<=470;x+=30,y+=30) //画棋盘线 { setcolor(BLACK); line(x,50,x,470); line(290,y,710,y); } setfillstyle(BLACK); bar(284,44,286,476); bar(284,44,716,46); bar(714,44,716,476); bar(284,474,716,476);//棋盘线周围的一圈粗线 fillellipse(380,140,4,4); fillellipse(620,140,4,4); fillellipse(380,380,4,4); fillellipse(620,380,4,4); fillellipse(500,260,4,4);//棋盘的五个小黑点 setcolor(BLACK); setfillstyle(RGB(213,176,146)); bar3d(800,100,900,140,0,0); bar3d(800,200,900,240,0,0); bar3d(800,300,900,340,0,0); setfont(24,0,"华文行楷"); outtextxy(805,110,"重新开始");//重新开始 按钮 outtextxy(827,210,"悔棋");//悔棋按钮 outtextxy(827,310,"投降");//投降按钮 setcolor(RGB(213,176,146)); setfillstyle(WHITE); fillellipse(820,28,20,20); setcolor(RGB(213,176,146)); setfillstyle(BLACK); fillellipse(880,28,20,20); for(int i=0;i<15;i++) { for(int j=0;j<15;j++) { if(piece[i][j]==-1) { setcolor(WHITE); setfillstyle(WHITE); fillellipse(290+j*30,50+i*30,12,12); } else if(piece[i][j]==1) { setcolor(BLACK); setfillstyle(BLACK); fillellipse(290+j*30,50+i*30,12,12); } } } } void PlayGame() { int h=0; int y=0; int Y; int ti=0,tj=0; while(f) { MOUSEMSG msg=GetMouseMsg(); //得到鼠标输入 while(msg.uMsg==WM_LBUTTONUP) { h++; if(h==1) { ShowPlate(); } else break; } if(h>2) { int a,b,c,d; a=(msg.x-290)%30; b=(msg.y-50)%30; c=(msg.x-290)/30+a/15;//落子点的横坐标 d=(msg.y-50)/30+b/15;//落子点的纵坐标 if(msg.x>800&&msg.x<840&&msg.y>8&&msg.y<48&&y==0) flag=false; else if(msg.x>860&&msg.x<900&&msg.y>8&&msg.y<48&&y==0) flag=true; if(a==15||b==15) //判断是否在两格中间 continue; if(msg.uMsg==WM_LBUTTONUP&&piece[d][c]==0&&(c>=0&&c<15&&d>=0&&d<15)) //判断是否在棋盘内且无棋子 { mciSendString("play 3.mp3",0,0,0); if(flag==true) { piece[d][c]=1; setcolor(BLACK); setfillstyle(BLACK); fillellipse(290+c*30,50+d*30,12,12); flag=false; ti=d; tj=c; y++; } else { piece[d][c]=-1; setcolor(WHITE); setfillstyle(WHITE); fillellipse(290+c*30,50+d*30,12,12); flag=true; ti=d; tj=c; y++; } } Judgewin(c,d); if(msg.uMsg==WM_LBUTTONUP) if((msg.x>=800&&msg.x<=900)&&(msg.y>=300&&msg.y<=340)) //投降 { if(flag==true) Whitewin(); else Blackwin(); } if(msg.uMsg==WM_LBUTTONUP) if((msg.x>=800&&msg.x<=900)&&(msg.y>=100&&msg.y<=140)) //中途重新开始 { y=0; for (c=0;c<16;c++) { for (d=0;d<16;d++) { piece[c][d]=0; } } ShowPlate(); } if(msg.uMsg==WM_LBUTTONUP) { if ((msg.x>=800&&msg.x<=900)&&(msg.y>=200&&msg.y<=240)&&(Y!=y)) //悔棋 { Y=y; if(flag==true) flag=false; else flag=true; piece[ti][tj]=0; ShowPlate(); } } } while(!f) //结束后重新开始 { MOUSEMSG msg=GetMouseMsg(); if(msg.uMsg==WM_LBUTTONUP) if((msg.x>=800&&msg.x<=900)&&(msg.y>=100&&msg.y<=140)) { for (int c1=0;c1<16;c1++) { for (int d1=0;d1<16;d1++) { piece[c1][d1]=0; } } ShowPlate(); f=1; PlayGame(); } } } } void Judgewin(int c,int d) { for(int i=0;i<15;i++)//判断是否五子连珠——横向 { int s=0; for(int j=i;j<i+5;j++) { s=s+piece[d][j]; if(s==5) Blackwin(); if(s==-5) Whitewin(); } } for(int m=0;m<15;m++)//判断是否五子连珠——纵向 { int s=0; for(int n=m;n<m+5;n++) { s=s+piece[n][c]; if(s==5) Blackwin(); if(s==-5) Whitewin(); } } for(int p=d-5,q=c-5;p<15;p++,q++)//判断是否五子连珠——左上到右下 { int s=0; for(int t=0;t<5;t++) { s=s+piece[p+t][q+t]; if(s==5) Blackwin(); if(s==-5) Whitewin(); } } for(int P=d+5,Q=c-5;Q<15;P--,Q++)//判断是否五子连珠——左下到右上 { int s=0; for(int t=0;t<5;t++) { s=s+piece[P-t][Q+t]; if(s==5) Blackwin(); if(s==-5) Whitewin(); } } } void Blackwin() { setcolor(WHITE); setfillstyle(BLACK); fillellipse(500,260,70,30); outtextxy(470,250,"黑子赢"); f=0; mciSendString("play 4.mp3",0,0,0); } void Whitewin() { setcolor(BLACK); setfillstyle(WHITE); fillellipse(500,260,70,30); outtextxy(470,250,"白子赢"); f=0; mciSendString("play 4.mp3",0,0,0); }

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值