ahmadfononi
معاونت انجمن
اين برنامه بازي مار و پله را انجام مي دهد . طراحي پس زمينه و قرار گرفتن مارها وپله ها در فتو شاپ انجام مي شود و روي تمامي خانه هاي بازي در وي بي كنترل image قرار داده مي شود كه بتوانند مهره را در محل مورد نظر به صورت يك تصوير بارگذاري كنند از يك جعبه متن هم براي نمايش مقدار تا س كمك گرفته ايم چنانچه علاقمندان در زمينه طراحي قسمت گرافيك و قرار دادن اشيا با مشكل مواجه شدند مي توانم طرح گرافيكي آن را برايشان ايميل كنم
با تشكر پريسا زارعي
با تشكر پريسا زارعي
Public a As Boolean
Public b, r As String
Public p, p1 As String
Public t, h, s, lastindex, lastindex1 As Integer
Private Sub Command1_Click()
Randomize
Text1.Text = Round(1 + Rnd(1) * 5)
b = Text1.Text
If a = True Then
Shape2.Visible = True
Shape1.Visible = False
a = False
Else
Shape2.Visible = False
Shape1.Visible = True
a = True
End If
If b = "6" Then
If a = True Then
Shape2.Visible = True
Shape1.Visible = False
Else
If a = False Then
Shape2.Visible = False
Shape1.Visible = True
End If
End If
End If
If b = "6" Then
h = 1
End If
If h = 1 Then
s = 1
End If
End Sub
Public b, r As String
Public p, p1 As String
Public t, h, s, lastindex, lastindex1 As Integer
Private Sub Command1_Click()
Randomize
Text1.Text = Round(1 + Rnd(1) * 5)
b = Text1.Text
If a = True Then
Shape2.Visible = True
Shape1.Visible = False
a = False
Else
Shape2.Visible = False
Shape1.Visible = True
a = True
End If
If b = "6" Then
If a = True Then
Shape2.Visible = True
Shape1.Visible = False
Else
If a = False Then
Shape2.Visible = False
Shape1.Visible = True
End If
End If
End If
If b = "6" Then
h = 1
End If
If h = 1 Then
s = 1
End If
End Sub