Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #53 from WilliamZ1008/main
Browse files Browse the repository at this point in the history
添加游戏科学队游戏代码
  • Loading branch information
bzy-debug authored Nov 8, 2024
2 parents d78c7a1 + d0a4d02 commit d4b2478
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions teams/游戏科学/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# KunKun 接鸡蛋

## 简介

“KunKun 接鸡蛋”这个游戏的目标是通过控制角色“KunKun”接住掉落的鸡蛋,以获得高分。游戏采用了简单的像素风格,类似于经典的小游戏。
<center><img src="./cover.png" alt="cover - Kun Kun playing basketball" style="zoom:66.6%;" /></center>

## 游戏规则

- 角色控制:玩家使用键盘方向键控制 KunKun 移动。
- 接住鸡蛋:屏幕上会随机出现鸡蛋,KunKun 需要在鸡蛋消失或掉落之前接住它们。接住一个鸡蛋后,分数会增加。
- 避免碰撞:游戏可能会增加难度,出现一些障碍物,玩家需要避开这些障碍物,否则会失分或游戏结束。
- 计分和时间:游戏左上角显示得分(Score)和帧数(Frame)。分数表示玩家已成功接住的鸡蛋数目,帧数可能代表游戏运行的总帧数或倒计时。


## 图鉴

#### KunKun

![robot character](./resource/kunkun.png)
KunKun 的设计风格简洁、可爱,可能是一个专门用来接鸡蛋的角色。这个形象容易让人联想到经典的像素游戏角色,简洁的设计有助于在小屏幕上清晰呈现角色的动作与状态。

#### 鸡蛋
![egg](./resource/egg.png)
鸡蛋可能是游戏的主要目标物,玩家需要帮助 KunKun 接住尽可能多的鸡蛋来获得高分。鸡蛋的设计也可能非常简约,是一个小的椭圆形,以便在屏幕上清晰可见。

## TODO

- [] 添加 GPT AI

- [] 添加障碍物

- [] 添加 KunKun 技能(shift加速)

- [] 添加 KunKun 升级

- [] 添加 KunKun 皮肤

- [] 添加关卡体验(难度-角色体积)
1 change: 1 addition & 0 deletions teams/游戏科学/control
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
通过小方向键上下左右控制 KunKun 运动, 屏幕会随机掉落鸡蛋, KunKun 触碰到鸡蛋代表接鸡蛋成功 <br>
Binary file added teams/游戏科学/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/游戏科学/game.wasm
Binary file not shown.
Binary file added teams/游戏科学/resource/egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teams/游戏科学/resource/kunkun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions teams/游戏科学/title
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
KunKun 接鸡蛋

0 comments on commit d4b2478

Please sign in to comment.