Лабораторная работа: Greating game on visual basic with multiplayer system
For Y = 0 To 8
Layer_A (Y). MouseIcon = LoadResPicture ("o", vbResIcon)
Next Y
End If
End If
If multiplayermode = False Then
If sw = True Then
StatusBar1. SimpleText = "New Game Initialized X's Turn"
Else
StatusBar1. SimpleText = "New Game Initialized O's Turn"
End If
If sw = True Then
Y = 0
For Y = 0 To 8
Layer_A (Y). MouseIcon = LoadResPicture ("x", vbResIcon)
Next Y
Out_Box. Caption = "X's Turn"
Else
Y = 0
For Y = 0 To 8
Layer_A (Y). MouseIcon = LoadResPicture ("o", vbResIcon)
Next Y
Out_Box. Caption = "O's Turn"
End If
End If
LoadComputer
End If
Sq_Left = Sq_Left - 1
EvalNextMove