- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
大富翁源代码
大富翁源代码
Dim gongcun1 As Boolean, gongcun2 As Boolean, gongcun3 As Boolean, fakuan As Boolean
Dim b As Integer, e As Integer, c As Integer, s As Integer
Dim land As Integer, police As Integer, shop As Integer, rest As Integer
Dim money As Integer, net As Integer, good As Integer, jianyu1 As Integer, jianyu2 As Integer, jianyu3 As Integer, caipiao As Integer
Dim suiji As Integer, suiji100 As Integer, suim As Integer
Private Sub Command1_Click()
p1 = InputBox$(玩家一选择:, 人物选择)
p2 = InputBox$(玩家二选择:, 人物选择)
Select Case p1
Case Is = 章家骐
Image1(0).Visible = True: Image4(0).Visible = True:
Case Is = 科比
Image2(0).Visible = True: Image4(1).Visible = True:
Case Is = 打酱油的
Image3(0).Visible = True: Image4(2).Visible = True: Label4(0).Left = 14400: Label4(0).Top = 6720: Label4(1).Left = 14400: Label4(1).Top = 2880
End Select
Select Case p2
Case Is = 章家骐
Image1(0).Visible = True: Image5(0).Visible = True: Label4(0).Left = 14400: Label4(0).Top = 6720: Label4(1).Left = 14400: Label4(1).Top = 2880
Case Is = 科比
Image2(0).Visible = True: Image5(1).Visible = True
Case Is = 打酱油的
Image3(0).Visible = True: Image5(2).Visible = True
End Select
If Image1(0).Visible = True And Image2(0).Visible = True Then
gongcun1 = True
ElseIf Image2(0).Visible = True And Image3(0).Visible = True Then
gongcun2 = True
ElseIf Image3(0).Visible = True And Image1(0).Visible = True Then
gongcun3 = True
End If
Command2.Visible = True
Command1.Visible = False
End Sub
Private Sub Command2_Click()
Label1.Visible = True
again:
Randomize
police = Int(Rnd * 13) + 1
shop = Int(Rnd * 19) + 1
caipiao = Int(Rnd * 19) + 1
rest = Int(Rnd * 19) + 1
Label2(caipiao).BackColor = HC0C000: Label2(caipiao).Caption = 随机
Label2(shop).BackColor = vbRed: Label2(shop).Caption = 商店
Label2(police).BackColor = vbBlack: Label2(police).Caption = 警局: Label2(police).ForeColor = vbWhite
Label2(rest).BackColor = H8000000F: Label2(rest).Caption = 休息
Command1.Visible = False
Command2.Visible = False
If gongcun1 = True
您可能关注的文档
最近下载
- 全南2019年招聘中小学幼儿园教师工作方案.doc VIP
- 《教师职业道德》教师职业道德概述.pptx VIP
- 2025年湛江中心人民医院医护人员招聘参考题库含答案解析.docx VIP
- 2025年湛江市中心人民医院医护人员招聘参考题库附答案解析.docx VIP
- 在线网课学习课堂《Advanced Medical English(首都医大 )》单元测试考核答案.docx VIP
- 青岛科技大学四方校区物业管理服务公开招标.doc VIP
- Delta影像组学在急性外踝韧带损伤修复疗效预测中的应用.docx VIP
- 黄炎培创业大赛 路演ppt(获奖).pptx VIP
- 2024年版《陕西省园林绿化工程消耗量定额》.pdf VIP
- 2024版食堂工作培训ppt课件 .pdf VIP
文档评论(0)