🗒 Cheat Sheet← Lesson
BitWithBite
Pygame Mastery Worksheet

🎨 Drawing Graphics

Module 3 of 20 · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Use RGB color tuples correctlyDraw lines, circles, rects, ellipses and polygonsControl filled vs outline shapes with widthExplain the fill/draw/flip frame order
📚 Quick Recap

Pygame draws with plain RGB tuples and a handful of pygame.draw functions — lines, circles, rectangles, ellipses, polygons and arcs — each following the same width=0-means-filled convention, and nothing is visible until display.flip() runs.

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1What does width=0 mean in a pygame.draw call?
2What must run before any drawing each frame?
3What shape does pygame.draw.ellipse make from a square rect?
4What units does pygame.draw.arc use for its angles?

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5An RGB color tuple has numbers, each from 0-255.
6pygame.draw.polygon takes a list of that it connects in order.
7Write the pygame.draw call to draw a filled red (220,20,60) circle at (400,300) with radius 40.
8What's the difference between pygame.draw.rect(...,0) and pygame.draw.rect(...,3)?
9Name the function that finally makes your drawings appear in the window.

🚀 Section C · Challenge ● CHALLENGE 5

10If you forget screen.fill() every frame, what visual artifact appears on screen as sprites move, and why does it happen?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-B   2-B   3-B   4-B  |  5 three   6 points (x,y)   7 = pygame.draw.circle(screen,(220,20,60),(400,300),40)   8 = width=0 fills the rect solid; width=3 draws only a 3-pixel outline   9 = pygame.display.flip() (or pygame.display.update())  |  10 = old frames "smear" across the screen because nothing erases the previous drawing before the new one is drawn on top of it

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet