⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vs.frm

📁 VB编的小游戏
💻 FRM
字号:
VERSION 5.00
Begin VB.Form vs 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "New Computer VS. Game"
   ClientHeight    =   2775
   ClientLeft      =   4695
   ClientTop       =   3090
   ClientWidth     =   4125
   LinkTopic       =   "Form3"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2775
   ScaleWidth      =   4125
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton Command2 
      Caption         =   "Cancel"
      Height          =   315
      Left            =   2160
      TabIndex        =   8
      Top             =   2400
      Width           =   735
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Start Game"
      Height          =   315
      Left            =   2940
      TabIndex        =   7
      Top             =   2400
      Width           =   1095
   End
   Begin VB.Frame Frame1 
      Caption         =   "Computer Skill Level"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2295
      Left            =   60
      TabIndex        =   0
      Top             =   60
      Width           =   3975
      Begin VB.OptionButton Option1 
         Caption         =   "Linux (Extreme!!)"
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   195
         Index           =   4
         Left            =   300
         TabIndex        =   6
         Top             =   1920
         Width           =   3375
      End
      Begin VB.OptionButton Option1 
         Caption         =   "BeOs (Hard!)"
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   195
         Index           =   3
         Left            =   300
         TabIndex        =   5
         Top             =   1680
         Width           =   3375
      End
      Begin VB.OptionButton Option1 
         Caption         =   "Mac OS (Moderate)"
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   195
         Index           =   2
         Left            =   300
         TabIndex        =   4
         Top             =   1440
         Width           =   3375
      End
      Begin VB.OptionButton Option1 
         Caption         =   "Win 95 (Easy)"
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   195
         Index           =   1
         Left            =   300
         TabIndex        =   3
         Top             =   1200
         Width           =   3375
      End
      Begin VB.OptionButton Option1 
         Caption         =   "Win 3.1 (Very Easy!)"
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   195
         Index           =   0
         Left            =   300
         TabIndex        =   2
         Top             =   960
         Width           =   3375
      End
      Begin VB.Label Label1 
         Caption         =   "Please Choose the skill of the AI Engine you will be playing"
         BeginProperty Font 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   435
         Left            =   180
         TabIndex        =   1
         Top             =   360
         Width           =   3615
      End
   End
   Begin VB.Label M 
      Caption         =   "Mem-AI v 0.1a"
      BeginProperty Font 
         Name            =   "Terminal"
         Size            =   6
         Charset         =   255
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   315
      Left            =   60
      TabIndex        =   9
      Top             =   2520
      Width           =   2055
   End
End
Attribute VB_Name = "vs"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Call Form1.MakeNewComputerVsMeGame
Unload Me
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Option1_Click(Index As Integer)
Select Case Index
    Case 0
        skill = 9
            skl = "Very Easy"
    Case 1
        skill = 8
            skl = "Easy"
    Case 2
        skill = 7
            skl = "Moderate"
    Case 3
        skill = 5
            skl = "Hard!"
    Case 4
        skill = 4
            skl = "Extreme!!"
End Select
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -