Overview
Worm Bucket is a time-based catching game where players tap emerging worms to catch them with Nyuron’s extending claw. Caught worms go into a bucket, but they can escape if not recaptured quickly. Bad worms stun the player for 2 seconds, adding risk to quick tapping. Scene Path:res://minigames/worm_bucket/scripts/main.gd
Cognitive Skills Developed
- Visual Tracking: Following multiple moving worms simultaneously
- Timing: Tapping at optimal moment when worm fully emerges
- Selective Attention: Distinguishing good worms from bad worms
- Motor Control: Precise tapping under time pressure
- Decision Making: Prioritizing which worms to catch first
- Impulse Control: Avoiding bad worms despite rapid gameplay
How to Play
Controls
- Tap Worm: Click/tap worm to catch with claw
- Back Button: Pause game
Objective
Catch as many worms as possible in 60 seconds while avoiding bad worms. Recapture escaping worms to maintain bucket count.Gameplay Flow
- Start: Tap “Play” on intro screen
- Catch: Tap emerging worms (green)
- Avoid: Don’t tap bad worms (red)
- Recapture: Stop escaping worms from leaving bucket
- Time Up: Score = total worms caught
Scoring System
Point Mechanics
- Catch Normal Worm: +1 point
- Recatch Escaping Worm: 0 points (no bonus/penalty)
- Worm Fully Escapes: -1 point (minimum 0)
- Bad Worm: No point change (2s stun penalty)
Coin Conversion
- 10 worms: 25 coins
- 20 worms: 50 coins
- 40 worms: 100 coins
High Score Tracking
Time Limit
Worm Types
Normal Worms
- Appearance: Green/brown coloring
- Behavior: Emerge, wait briefly, retract
- Effect: +1 score when caught
Bad Worms
- Appearance: Red coloring or spikes
- Behavior: Emerges like normal worm
- Effect: 2-second stun, screen pulse, no score change
- Purpose: Teaches impulse control
Escaping Worms
- Trigger: EscapeTimer timeout (periodic)
- Appearance: Worm emerges from bucket position
- Behavior: Moves away from bucket toward edge
- Effect: Must be recaptured or -1 score on full escape
Key Code Examples
Worm Spawning
Claw Shooting Mechanic
- Player taps worm
- Nyuron’s claw extends to worm position
claw_reached_targetsignal fires- Worm attaches to claw tip
- Claw retracts
shot_finishedsignal fires- Worm moves to bucket
- Score/bucket updated
Bucket Visual States
Stun Visual Feedback
Audio System
- Catch Sound: Varied pitch (0.9-1.1x) to avoid repetition
- Fail Sound: Plays on bad worm tap
Nyuron Component
The player character with claw mechanics:shoot_to(position: Vector2, is_recapture: bool)stun(duration: float)
claw_reached_target(position: Vector2)shot_finished()
claw_tip: Node2D for normal catch attachmentclaw_tip_recap: Node2D for recapture attachment
Worm Component
Each worm must implement: Required Properties:is_bad: bool (optional, false by default)state: String (“EMERGING”, “WAITING”, “ESCAPING”, etc.)game: Reference to main scene
request_catch(worm: Node)- Emitted when tappedescaped(worm: Node)- Emitted when fully escapes
attach_to_claw(claw_tip: Node2D)detach_and_go_to_bucket()start_escape(from_position: Vector2)(for escaping worms)
Spawner Component
worm_scene: PackedScene for worm instantiation
spawned(worm: Node)- Emitted when new worm created
SpawnTimer: Timer controlling spawn intervals
Escape Mechanic
Pause System
Game Over Flow
Optimal Strategy
High scores require balancing:- Speed: Catch worms quickly before they retract
- Accuracy: Avoid bad worms to prevent 2s stun
- Prioritization: Recapture escaping worms first (prevent -1)
- Risk Management: Don’t tap uncertain worms near time limit
- Excellent: 40+ worms (0.67 worms/second)
- Good: 25-40 worms (0.42-0.67 worms/second)
- Average: 15-25 worms (0.25-0.42 worms/second)
- Learning: <15 worms
Screen Configuration
Educational Value
Worm Bucket develops:- Inhibitory Control: Not tapping bad worms despite rapid gameplay
- Working Memory: Tracking multiple worm positions and states
- Processing Speed: Quick decision-making under time pressure
- Sustained Attention: Maintaining focus for full 60 seconds
- Hand-Eye Coordination: Precise tapping on moving targets
Food Catch
Similar catching mechanics with passive falling
Minigames Overview
Return to all minigames