适合人群:初级学习者和爱好者,下面有展示图。计算机毕业设计
@
目录
- 1 前言
- 2 正文
- 2.1 展示预览
- 2.2 项目结构
- 2.2 主要代码展示
- 源码下载
- 系列推荐:
- 查看更多博主首页更多实战项目 >>>
1 前言
🚀获取源码,文末公众号回复【打地鼠】,即可。
⭐欢迎点赞留言
2 正文
公众号:JavaPub
2.1 展示预览
13MB GIF可以欣赏:
https://tvax3.sinaimg.cn/large/007F3CC8ly1h1op02hzlmg30t80lr4qp.gif
2.2 项目结构
2.2 主要代码展示
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>打地鼠</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<audio
src="./audio/music.mp3"
autoplay
loop
></audio>
<audio src="./audio/dazhong.wav" id="hit"></audio>
<p id="score">得分:0</p>
<table id="box">
<tr>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
</tr>
<tr>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
</tr>
<tr>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
</tr>
<tr>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
<td>
<img src="./image/mouse.png" alt="" class="mouser mouser-down">
</td>
</tr>
</table>
<script src="jquery.js"></script>
<script src="index.js"></script>
</body>
</html>