diff --git a/README.md b/README.md index 550dcd7..037c5d3 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ game = SwimmingSquid( | GARBAGE_1 | 30 | -1 | | GARBAGE_3 | 40 | -4 | | GARBAGE_3 | 50 | -10 | + 3. 食物數量會隨遊戲時間增加 2. 玩家相撞: 1. 當地圖長寬皆大於 500 pixels 時,遊戲將增加碰撞機制。 diff --git a/asset/.DS_Store b/asset/.DS_Store new file mode 100644 index 0000000..1793260 Binary files /dev/null and b/asset/.DS_Store differ diff --git a/game_config.json b/game_config.json index be44c8b..93ab26a 100644 --- a/game_config.json +++ b/game_config.json @@ -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, diff --git a/src/game.py b/src/game.py index da6e12d..823aa92 100644 --- a/src/game.py +++ b/src/game.py @@ -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