教程中国
PHOTOSHOP CS9.0中文版 MAYA 8.5 FOR WINDOWS Corel Painter v9.0 Flash MX2004 中文版 Illustrator cs2 中文版
VC++6.0含sp6 中英文版 VB6.0 +sp6 简体中文版 Borland Delphi 7汉化版 MSDN for vb6.0中文版 Visual Studio 2005简体
教程中国下属 文件存储共享专家BIBIDU.COM 提供大型软件,教材,源码,电影,音乐,图书等下载 更多精品请点此进入
  您目前所在位置: 教程中国 >> 编程基地 >> ASP >> 用ASP编写的俄罗斯方块游戏 RSS订阅
用ASP编写的俄罗斯方块游戏
用ASP编写的俄罗斯方块游戏(6)
教程(视频,书籍)下载:  ASP.NET AutoCAD 数据库 C# ASP java photoshop 网页设计 delphi 3dmax Flash C++ VB 张孝祥 实例   更多请进入BIBIDU搜索
IT搜索引擎   
End If
If s(i, i2) = True And X + i - 1 - 1 < 1 Then ok = 0
Next
Next
If ok = 1 Then
X = X - 1
For i = 1 To 4
For i2 = 1 To 4
If s(i, i2) = True Then
If s(i + 1, i2) = False Then
document.all(cstr(coor(X + i, Y - i2 + 1))).bgcolor = "#000000"
End If
End If
If s(i, i2) = True Then
document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
End If
Next
Next
End If
End If
If window.event.keyCode = 39 Then
ok = 1
For i = 1 To 4
For i2 = 1 To 4
If s(i, i2) = True And X + i - 1 + 1 < 11 Then
If n(X + i - 1 + 1, Y - i2 + 1) = True Then ok = 0
End If
If s(i, i2) = True And X + i - 1 + 1 > 10 Then ok = 0
Next
Next
If ok = 1 Then
X = X + 1
For i = 1 To 4
For i2 = 1 To 4
If s(i, i2) = True Then
If s(i - 1, i2) = False Then
document.all(cstr(coor(X + i - 2, Y - i2 + 1))).bgcolor = "#000000"
End If
End If
If s(i, i2) = True Then
document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
End If
Next
Next
End If
End If
“Aqui
If window.event.keyCode = 32 Or window.event.keyCode = 40 Then
If Fig > 0 Then
For i = 1 To 4
For i2 = 1 To 4
If s(i, i2) = True Then
document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = "#000000"
End If
Next
Next
Do
Y = Y - 1
For i = 1 To 4
For i2 = 1 To 4
If s(i, i2) = True And Y - i2 + 1 = 1 Then Fig = 0
If Y - i2 > 0 And X + i - 1 > 0 And X + i - 1 < 11 Then
If s(i, i2) = True And n(X + i - 1, Y - i2) = True Then Fig = 0
End If
Next
Next
Loop Until Fig = 0
For i = 1 To 4
For i2 = 1 To 4
If s(i, i2) = True Then
document.all(cstr(coor(X + i - 1, Y - i2 + 1))).bgcolor = Farg
End If
If s(i, i2) = True Then n(X + i - 1, Y - i2 + 1) = True
Next
Next
End If
End If
End If
End Sub
function Mmove(Index)
if index = "I" then
document.all(Window.Event.SrcElement.sourceindex).classname = "normalHI"
document.all(Window.Event.SrcElement.sourceindex).bgcolor = "#0099CC"
else
document.all(Window.Event.SrcElement.sourceindex).classname = "normalH"
document.all(Window.Event.SrcElement.sourceindex).bgcolor = "#009900"
end if
end function
</script>
</HTML>
<%End If%>

来源:
作者:
关键字:用ASP编写,俄罗斯方块游戏
发表日期:2007-1-15 9:48:05

网页显示有限 阅读全文请下载本文完整版WORD文档

上一篇:HTMLEncode 方法对HTML 编码应用实例    下一篇:在ASP中使用事务控制


共6页 9 7 [1] [2] [3] [4] [5] [68 :>

2008-11-21 18:43:58
本文的相类似文章
  • 用ASP编写的俄罗斯方块游戏
  • 用ASP编写网上调查投票系统
  • 用ASP编写网络传呼机
  • 如何用ASP编写网站统计系统
  • 用ASP编写邮件列表
  • Tc2.0编写俄罗斯方块游戏
  • 用asp编写文档搜索页面
  • 利用ASP编写动态回复表单
  • 用ASP编写的俄罗斯方块游戏
  • 以前收集的一些资料---使用ASP编写农历算法(二)
  • 在学习中进步 在进步中成长 教程中国相随您的成长之路
    华腾联合科技股份有限公司版权所有
    广告联系:Rosibo@163.com