Лабораторная работа: Greating game on visual basic with multiplayer system
End If
End If
If multiplayermode = True And usermode = "client" Then
If sw = True Then
opponentsscore = opponentsscore + 1
Out_Box. Caption = opponentsname & " Won!"
Else
profilenamescore = profilenamescore + 1
Out_Box. Caption = profilename & " Won!"
End If
End If
If multiplayermode = False Then
If sw = True Then
Out_Box. Caption = "X Won!!!!"
Else
Out_Box. Caption = "O Won!!!!!"
End If
End If
Game_Over. Caption = "Game Over"
If multiplayermode = True And usermode = "host" Then
restart. Visible = True
restart. Enabled = True
End If
Timer4. Enabled = True
If sw = True Then
Call Mark_Win ("X")
Else
Call Mark_Win ("O")
End If