一个javascript脚本写的俄罗斯方块 (1)game.htm

发表于:2007-06-30来源:作者:点击数: 标签:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEAD TITLE 俄罗斯方块 /TITLE META NAME=Generator CONTENT=EditPlus META NAME=Author CONTENT=dolphin META NAME=Description CONTENT=俄罗斯方块 游戏 STYLE .btnup{ border-left:solid
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> 俄罗斯方块 </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="dolphin">
<META NAME="Description" CONTENT="俄罗斯方块游戏">
<STYLE>
.btnup{
         border-left:solid #ffffff 1px;
         border-top:solid #ffffff 1px;
         border-right:solid #828486 1px;
         border-bottom:solid #828486 1px;
   font-size: 9pt;
   cursor:default
        }
tr{
  font-family:"宋体";
  font-size: 9pt;
  cursor: default
}
</STYLE>
<SCRIPT LANGUAGE="JavaScript" src="Russia.js"></SCRIPT>
</HEAD>

<BODY BGCOLOR="#FFFFFF" onload="Init()" onkeydown="keyDown()">
<TABLE border="0" cellspacing="2" cellpadding="6" align="center" width="60%">
<TR valign="top">
<TD width="120">
  得分:   <SPAN ID="gScore"></SPAN>  <p>
  级别:   <SPAN ID="gLevel"></SPAN>  <p>
  行数:   <SPAN ID="gLine"></SPAN>  <p>
</TD>
<TD><SPAN ID="GameBody"><!-- 游戏主区域 --></SPAN></TD>
<TD>
  <SPAN ID="GameForecast"><!-- 游戏预报区域 --></SPAN><p>
  <BUTTON ID="start" onclick="StartGame()">开始游戏</BUTTON><p>
  <BUTTON ID="pause" onclick="PauseGame()">暂停游戏</BUTTON><p>
  <BUTTON ID="over" onclick="OverGame()">结束游戏</BUTTON><p>
  <BUTTON>帮    助</BUTTON>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>




原文转自:http://www.ltesting.net