120 Scratch Coding Challenges (Beginner to Advanced)
📌 What you will learn
Practice Scratch with 120 bite-sized, hands-on coding challenges across Beginner, Intermediate, and Advanced tiers.
Beginner Challenges (40)
Great for ages 7–11 and first-time coders practicing motion, looks, loops, events, and Pen basics.
Scratch Challenge (Beginner): Make a Cat Walk and Say Hello Combine green flag, move steps, next costume, and say blocks in order. Learn more → Scratch Challenge (Beginner): Bouncing Ball Around the Stage Point at 45 degrees and bounce endlessly off all four edges. Learn more → Scratch Challenge (Beginner): Rainbow Color-Changing Butterfly Cycle color effects smoothly inside a forever loop. Learn more → Scratch Challenge (Beginner): Friendly Mouse-Following Firefly Point toward the mouse pointer and move gently without jittering. Learn more → Scratch Challenge (Beginner): 4-Way Arrow Key Explorer Move up, down, left, and right cleanly with change x and change y. Learn more → Scratch Challenge (Beginner): Mini Scratch Dance Party Sync two dancing sprites with a looping background beat. Learn more → Scratch Challenge (Beginner): Two-Sprite Comedy Dialogue Use broadcast and wait so two animals take turns telling a joke. Learn more → Scratch Challenge (Beginner): Balloon Pop Clicker Pop a flying balloon on click, play a sound, and add 1 to score. Learn more → Scratch Challenge (Beginner): Draw a Colorful Square with Pen Use Pen down, repeat 4, move 80 steps, and turn 90 degrees. Learn more → Scratch Challenge (Beginner): Draw an Equilateral Triangle Discover why turning 120 degrees (exterior angle) closes a triangle. Learn more → Scratch Challenge (Beginner): Draw a 5-Pointed Star Repeat 5 times: move 100 steps and turn clockwise 144 degrees. Learn more → Scratch Challenge (Beginner): Sparkling Mouse Drawing Wand Leave colorful Pen trails only while the mouse button is held down. Learn more → Scratch Challenge (Beginner): 4-Button Sound Effect Pad Make four colorful buttons that each play a unique sound and animate. Learn more → Scratch Challenge (Beginner): Teleporting Hide-and-Seek Sprite Hide, wait a random time, jump to a random spot, and show briefly. Learn more → Scratch Challenge (Beginner): Day-to-Night Backdrop Transition Press Space to cycle morning, sunset, and starry night backdrops. Learn more → Scratch Challenge (Beginner): Growing Fish Size Challenge Increase sprite size each time it touches a food pellet up to 180%. Learn more → Scratch Challenge (Beginner): 3-2-1 Rocket Launch Animation Count down with say blocks, play a rumble, and glide upward. Learn more → Scratch Challenge (Beginner): Spinning Prize Wheel Rotate a wheel sprite a random number of times and slow down gradually. Learn more → Scratch Challenge (Beginner): Simple Falling Apple Catcher Move a basket left/right with arrows to catch falling apples. Learn more → Scratch Challenge (Beginner): Beach Crab Dodger Jump over a patrolling crab moving back and forth across the sand. Learn more → Scratch Challenge (Beginner): Animate Every Letter of Your Name Give each letter sprite a fun hover effect when clicked or touched. Learn more → Scratch Challenge (Beginner): Click-to-Feed Virtual Pet Track hunger in a variable and cheer when the pet is fed. Learn more → Scratch Challenge (Beginner): 1-Level Mini Maze Navigate a small sprite to the star while bouncing back from walls. Learn more → Scratch Challenge (Beginner): 3-Question Trivia Quiz Use ask and wait with if-else to score three fun questions. Learn more → Scratch Challenge (Beginner): Animated 6-Sided Dice Roller Switch rapidly through 6 dice costumes before landing on a random roll. Learn more → Scratch Challenge (Beginner): Automatic Traffic Light Cycle green (4s), yellow (1s), and red (3s) costumes continuously. Learn more → Scratch Challenge (Beginner): 5-Key Mini Keyboard Map keys A, S, D, F, G to notes C, D, E, F, G with Music extension. Learn more → Scratch Challenge (Beginner): Spooky Fading Ghost Fade ghost effect smoothly from 0 to 100 and back to 0. Learn more → Scratch Challenge (Beginner): Interactive Weather Greeting Card Click buttons to toggle sunny, rainy, or snowy effects. Learn more → Scratch Challenge (Beginner): 10-Second Click Speed Test Count how many clicks you can score before the timer hits 10 seconds. Learn more → Scratch Challenge (Beginner): Silly Random Sentence Generator Combine random picks from who, did what, and where lists. Learn more → Scratch Challenge (Beginner): Stamp a Random Tree Forest Use Pen stamp at 15 random spots with varied sizes for depth. Learn more → Scratch Challenge (Beginner): Flipped Webcam Bubble Popper Use Video Sensing on-flipped so waving your hand pops bubbles. Learn more → Scratch Challenge (Beginner): Talking Robot Greeter Ask for the player’s name and speak a custom welcome with Text-to-Speech. Learn more → Scratch Challenge (Beginner): Instant Word Translator Ask for an English phrase and translate it into Spanish or Japanese. Learn more → Scratch Challenge (Beginner): Interactive Compass Rose Press N, E, S, W keys to point the arrow to 0, 90, 180, and -90 degrees. Learn more → Scratch Challenge (Beginner): Stage Quadrant Detector Report which of the four (x, y) quadrants the sprite currently stands in. Learn more → Scratch Challenge (Beginner): Live Slider-Controlled Balloon Use a stage slider variable to inflate or shrink a balloon live. Learn more → Scratch Challenge (Beginner): Even or Odd Number Checker Ask for a number and use (answer mod 2 = 0) to classify it. Learn more → Scratch Challenge (Beginner): Four-Corner Perimeter Patrol Glide cleanly around all four stage corners in a continuous loop. Learn more →
Intermediate Challenges (40)
Level up with gravity, clones, lists, HP bars, timers, and classic arcade game mechanics.
Scratch Challenge (Intermediate): Smooth Gravity Jump Sandbox Build velocity-based jumping with y_vel and ground collision. Learn more → Scratch Challenge (Intermediate): Double Jump Platform Challenge Allow exactly two jumps per landing using a jumps_left counter. Learn more → Scratch Challenge (Intermediate): Cloned Raindrop Shower Spawn 30 falling raindrop clones and delete each at the bottom edge. Learn more → Scratch Challenge (Intermediate): Cooldown Laser Blaster Fire cloned lasers from the player’s direction with a 0.2s cooldown. Learn more → Scratch Challenge (Intermediate): 3-Wave Arcade Enemy Spawner Increase enemy speed and count as wave 1, 2, and 3 progress. Learn more → Scratch Challenge (Intermediate): Dynamic Pen Health Bar Draw a green/yellow/red HP bar proportional to (hp / max_hp). Learn more → Scratch Challenge (Intermediate): Damage Invulnerability Blink Protect the player for 1 second after a hit while flashing ghost effect. Learn more → Scratch Challenge (Intermediate): Dual WASD + Arrow Key Controls Combine logical OR blocks so either hand can steer smoothly. Learn more → Scratch Challenge (Intermediate): Personal Best Score Tracker Update best_score on Game Over without resetting it on replay. Learn more → Scratch Challenge (Intermediate): Clean Pause & Resume Menu Pause all movement cleanly with a single "state" variable. Learn more → Scratch Challenge (Intermediate): Clicker Upgrade Shop Spend coins to boost points_per_click with scaling upgrade prices. Learn more → Scratch Challenge (Intermediate): Data-Driven 10-Question Quiz Load questions and answers from two lists using a single loop. Learn more → Scratch Challenge (Intermediate): Collectible Key & Locked Door Add keys to an inventory list and unlock doors with list contains. Learn more → Scratch Challenge (Intermediate): RPG Typewriter Dialogue Box Reveal dialogue one character at a time using letter-of and join. Learn more → Scratch Challenge (Intermediate): Telegraphed Boss Attack Pattern Flash a 0.6-second warning before launching a boss projectile wave. Learn more → Scratch Challenge (Intermediate): 3-Layer Parallax Background Scroll clouds, hills, and ground at different speed multipliers. Learn more → Scratch Challenge (Intermediate): Gentle Homing Enemy Steer an enemy smoothly toward the player with limited turn speed. Learn more → Scratch Challenge (Intermediate): Clone Explosion Particle Burst Spawn 12 colorful fading sparks whenever a target is destroyed. Learn more → Scratch Challenge (Intermediate): Single-Player Pong vs. CPU Move the CPU paddle toward ball_y with capped max speed so it is beatable. Learn more → Scratch Challenge (Intermediate): 5x3 Cloned Breakout Brick Wall Arrange 15 brick clones in rows and track remaining bricks to win. Learn more → Scratch Challenge (Intermediate): Growing Snake Tail Mechanic Spawn timed tail clones that match snake_length × tick_delay. Learn more → Scratch Challenge (Intermediate): Scrolling Random Pipe Gaps Clone top/bottom pipe pairs with fair vertical gaps and score triggers. Learn more → Scratch Challenge (Intermediate): Top-Down Car with Acceleration Accelerate forward, coast with * 0.94 friction, and slow down on grass. Learn more → Scratch Challenge (Intermediate): 4-Lane Timer-Synced Rhythm Chart Spawn falling notes synced to the built-in timer for accurate beats. Learn more → Scratch Challenge (Intermediate): Working Analog Wall Clock Rotate hour, minute, and second hands using current time reporters. Learn more → Scratch Challenge (Intermediate): 25-Minute Study Timer App Format MM:SS countdown cleanly and chime when study time ends. Learn more → Scratch Challenge (Intermediate): Multi-Color Paint Studio Add 6 color swatches, brush size +/-, eraser, and Clear Canvas. Learn more → Scratch Challenge (Intermediate): No-Duplicate Bingo Drawer Draw random numbers from 1–75 and delete each from the pool list. Learn more → Scratch Challenge (Intermediate): Fisher-Yates Deck Shuffler Shuffle a 52-card list fairly by swapping random indices. Learn more → Scratch Challenge (Intermediate): Word Guessing Game Reveal matching letters in a hidden word using a display list. Learn more → Scratch Challenge (Intermediate): 4x3 Memory Card Match Flip two cloned cards, compare costume IDs, and clear matches. Learn more → Scratch Challenge (Intermediate): Timed Whack-a-Mole Arcade Pop moles from 6 fixed holes with rising speed over 30 seconds. Learn more → Scratch Challenge (Intermediate): Parabolic Slingshot Launcher Launch a ball opposite mouse drag distance with gravity and bounce. Learn more → Scratch Challenge (Intermediate): Pen Fishing Line & Catching Draw a taut line from rod to hook and reel swimming fish clones up. Learn more → Scratch Challenge (Intermediate): 4-Function Clickable Calculator Build number buttons 0–9 and +, -, *, / operations with clear display. Learn more → Scratch Challenge (Intermediate): Temperature & Distance Converter Convert Celsius to Fahrenheit and kilometers to miles interactively. Learn more → Scratch Challenge (Intermediate): 5-Bit Interactive Binary Counter Toggle 16-8-4-2-1 lamp sprites to display decimal 0–31 live. Learn more → Scratch Challenge (Intermediate): Custom Block Polygon Drawer Create Draw Polygon (sides) (size) to render any regular shape. Learn more → Scratch Challenge (Intermediate): Floating Coin Sine Wave Animation Use sin(timer * 200) * 12 for silky vertical hovering. Learn more → Scratch Challenge (Intermediate): Safe Broadcast Clone Filtering Give original sprite is_clone = 0 so broadcasts never duplicate clones. Learn more →
Advanced Challenges (40)
Master scrolling engines, save codes, 3D raycasting, pathfinding, fractals, and optimization.
Scratch Challenge (Advanced): Single-Loop Tick Broadcast Engine Drive all physics, AI, and rendering in deterministic order each frame. Learn more → Scratch Challenge (Advanced): Smooth Camera Follow with Easing Ease cam_x toward player_x using (player_x - cam_x) / 6. Learn more → Scratch Challenge (Advanced): Data-Driven Tilemap Scroller Load a 2D level grid from a list and render only visible screen tiles. Learn more → Scratch Challenge (Advanced): Platformer Slope Climbing Step upward up to 8 pixels on horizontal contact to walk smoothly up hills. Learn more → Scratch Challenge (Advanced): Wall Slide & Wall Kick Engine Slide gently down walls and kick off at a crisp opposite horizontal arc. Learn more → Scratch Challenge (Advanced): Carry Player on Moving Platforms Transfer platform delta_x and delta_y cleanly to standing players. Learn more → Scratch Challenge (Advanced): Coyote Time & Jump Buffering Add 4-frame grace windows before and after landing for pro platformer feel. Learn more → Scratch Challenge (Advanced): Zero-Lag Costume Hitbox Swapping Swap to a rectangle hitbox for collision, then back to animated sprite. Learn more → Scratch Challenge (Advanced): Encode & Decode Level Save Codes Serialize level, coins, and inventory into a copyable string and parse it back. Learn more → Scratch Challenge (Advanced): Stamped Custom-Font Score HUD Render any multi-digit integer with crisp custom number costumes. Learn more → Scratch Challenge (Advanced): 2D Raycasting Vision Cone Cast rays outward from the player to compute exact wall distances. Learn more → Scratch Challenge (Advanced): 3D Pen Raycaster with Fisheye Fix Project vertical wall slices with cos(angle_diff) fisheye correction. Learn more → Scratch Challenge (Advanced): Depth-Sorted Sprites in 3D Compare object distance against a z-buffer list to occlude behind walls. Learn more → Scratch Challenge (Advanced): Breadth-First Search Maze Solver Compute shortest path distances on a grid list so enemies detour walls. Learn more → Scratch Challenge (Advanced): Recursive Backtracker Maze Generator Generate a fresh solvable labyrinth in under 0.1s using no-refresh blocks. Learn more → Scratch Challenge (Advanced): Complete 2048 Sliding Matrix Slide, merge once per turn, and detect Game Over on a 16-item list. Learn more → Scratch Challenge (Advanced): Minesweeper Flood-Fill Reveal Recursively reveal empty 0-neighbor zones cleanly on an 8x8 grid. Learn more → Scratch Challenge (Advanced): Visual Bubble Sort Bar Graph Animate Pen bars swapping in real time as a list sorts ascending. Learn more → Scratch Challenge (Advanced): Interactive Binary Search Demo Find any number in a sorted 100-item list in at most 7 comparisons. Learn more → Scratch Challenge (Advanced): Recursive Pen Fractal Tree Use a recursive custom block to branch trunks at ±25 degrees. Learn more → Scratch Challenge (Advanced): Koch Snowflake Fractal Curve Recursively subdivide line segments into a geometric snowflake. Learn more → Scratch Challenge (Advanced): Nearest-Enemy Tower Targeting Scan parallel enemy_x/enemy_y lists to aim at the closest target in range. Learn more → Scratch Challenge (Advanced): Mini Pendulum & Chain Physics Link 6 nodes with distance constraints for a swinging Pen rope. Learn more → Scratch Challenge (Advanced): Real-Time FPS Counter Measure exact frame rate using "days since 2000" delta time. Learn more → Scratch Challenge (Advanced): Frame-Rate Independent Movement Scale speed by delta_time so 30 FPS Scratch and 60 FPS TurboWarp match. Learn more → Scratch Challenge (Advanced): Numeric Cloud Leaderboard Encoder Convert usernames into 2-digit numeric codes for cloud high-score tables. Learn more → Scratch Challenge (Advanced): Radial Flashlight Darkness Overlay Mask the stage around the player for atmospheric dungeon exploration. Learn more → Scratch Challenge (Advanced): Impact Camera Screen Shake Add decaying random camera offsets on explosions and boss hits. Learn more → Scratch Challenge (Advanced): Timed Arcade Combo Bar Drain a Pen combo meter between hits and award x2, x3, x5 multipliers. Learn more → Scratch Challenge (Advanced): Scripted Cutscene List Runner Execute dialogue, speaker, and emotion commands directly from a list. Learn more → Scratch Challenge (Advanced): Drag-and-Drop Grid Inventory Snap items into numbered slots and swap items on drop. Learn more → Scratch Challenge (Advanced): In-Game Tile Level Editor Let players paint tiles with the mouse, test play, and export a save code. Learn more → Scratch Challenge (Advanced): Mini Flocking Birds Simulation Combine simple separation, alignment, and cohesion rules across 20 clones. Learn more → Scratch Challenge (Advanced): Predator-Prey Live Pen Graph Plot live rabbit and fox population curves side by side on stage. Learn more → Scratch Challenge (Advanced): Elliptical Planetary Orbits Simulate multiple planets orbiting a star at realistic relative speeds. Learn more → Scratch Challenge (Advanced): Note Recorder & Playback Engine Record pressed notes and timestamps into parallel lists and replay them. Learn more → Scratch Challenge (Advanced): Tamper-Resistant Save Code Checksum Append a simple mod-97 checksum so mistyped save codes are rejected safely. Learn more → Scratch Challenge (Advanced): Fast Circle-vs-Circle Collision Compare squared distances (dx*dx + dy*dy < r*r) without slow touching checks. Learn more → Scratch Challenge (Advanced): Interactive Pen Bezier Curve Drag 3 control points live to watch quadratic Bezier interpolation in action. Learn more → Scratch Challenge (Advanced): Multi-App Mini Desktop OS Combine Calculator, Clock, Paint, and Notes inside one window manager. Learn more →
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.