This commit is contained in:
yanshaoting 2024-03-14 11:15:08 +08:00
parent c9d8931bbf
commit 3f67bf5da8
4 changed files with 5 additions and 4 deletions

View File

@ -64,6 +64,7 @@ game = SwimmingSquid(
| GARBAGE_1 | 30 | -1 |
| GARBAGE_3 | 40 | -4 |
| GARBAGE_3 | 50 | -10 |
3. 食物數量會隨遊戲時間增加
2. 玩家相撞:
1. 當地圖長寬皆大於 500 pixels 時,遊戲將增加碰撞機制。

BIN
asset/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
{
"game_name": "swimming-squid",
"version": " 1.0.5",
"url": "https://github.com/PAIA-Playful-AI-Arena/swimming-squid",
"version": " 1.0.7",
"url": "https://github.com/PAIA-Playful-AI-Arena/swimming-squid-battle",
"description": "這是一個魷魚吃東西小遊戲,你需要找到正確的食物、避開海中的垃圾,還要提防敵人的攻擊!(當然你也可以主動攻擊他人)",
"logo": [
"./asset/logo.png",
"https://raw.githubusercontent.com/PAIA-Playful-AI-Arena/swimming-squid/main/asset/logo.png"
"https://raw.githubusercontent.com/PAIA-Playful-AI-Arena/swimming-squid-battle/main/asset/logo.png"
],
"user_num": {
"min": 2,

View File

@ -129,7 +129,7 @@ class SwimmingSquid(PaiaGame):
revise_ball(self.squid1, self.playground)
revise_ball(self.squid2, self.playground)
# create new food
if self.frame_count - self._new_food_frame > 300:
if self.frame_count - self._new_food_frame > 150:
for i in range(6):
if self._foods_max_num[i] > self._foods_num[i]:
self._foods_num[i] += 1