Skip to content

bubble#21

Merged
ptitmorceaux merged 2 commits intomainfrom
soso
Nov 13, 2025
Merged

bubble#21
ptitmorceaux merged 2 commits intomainfrom
soso

Conversation

@ptitmorceaux
Copy link
Owner

This pull request introduces a new "Bubble" zone type to the game, which restores player fatigue and adds variety to the zone generation logic. The changes cover updates to zone type definitions, random generation rates, display symbols, legend text, and gameplay logic for handling the new zone.

Gameplay and Zone Logic Updates:

  • Added a new zone type, ZONE_BUBBLE, to the ZoneType enum in global.h.
  • Implemented gameplay logic for ZONE_BUBBLE in runGame: entering this zone restores player fatigue based on their tier, updates zone status, and provides feedback to the player.

Zone Generation and Display:

  • Included bubble_rate in zone generation logic in build_tier, making bubbles appear with a frequency that increases with tier (capped at 15). Zones can now be randomly assigned as bubbles. [1] [2]
  • Added a symbol ("🫧") for the bubble zone in get_zone_type_symbol, and updated the map legend in draw_tier to include bubbles. [1] [2]

@ptitmorceaux ptitmorceaux merged commit 68c0b63 into main Nov 13, 2025
5 checks passed
@ptitmorceaux ptitmorceaux deleted the soso branch November 13, 2025 19:43
ptitmorceaux added a commit that referenced this pull request Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants