⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 03.htm

📁 javaScript实现华容道小游戏
💻 HTM
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>华容道模拟游戏</title>
</head>
<body>
<div align="center"><center>
<h1>华容道模拟游戏</h1>
<table width="70%">
  <tr>
    <td>操作帮助:<p>1.设置游戏。首先,请设置难度,然后单击"确定"按钮。这时将弹出游戏窗口。<br>
    2.在"游戏"窗口单击"开始"按钮,游戏将开始。单击空白附近的按钮,可以将该按钮移动到空白处。游戏的最终目的是将游戏恢复到最初状态,各按钮上的显示数字从1开始有序排列。<br>
    3.游戏完成后,请单击"确定"按钮,系统将给出评分。<br>
    4.可随时单击"重玩"按钮,重新开始同一局游戏。</p>
    <hr>
    </td>
  </tr>
<tr>
<td>
<form>
      <h2>游戏设置</h2>
      <p>难度设置(单击相应的单选按钮)</p>
      <p><input type="radio" name="R1" onClick="dset(24);">大师级(5×5)<input
      type="radio" name="R1" onClick="dset(15);">高人级(4×4)<input
      type="radio" name="R1" onClick="dset(8);" checked>普通级(3×3)</p>
<p>背景色设置(单击色块内的单选按钮)</p>
      <table border="0" width="90%">
        <tr>
          <td width="20%" height="15" bgcolor="#00FFFF">
            <input type="radio" name="R2">
        </td>
        <td width="20%" height="15" bgcolor="#44bbFF">
           <input type="radio" name="R2">
        </td>
        <td width="20%" height="15" bgcolor="#8888FF">
           <input type="radio" name="R2">
        </td>
          <td width="20%" height="15" bgcolor="#bb44FF">
           <input type="radio" name="R2">
        </td>
          <td width="20%" height="15" bgcolor="#ff00FF">
           <input type="radio" name="R2">
        </td>
        </tr>
      </table> 

</form>
</td>
</tr>
</table>
</center></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -