<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pac-Man :: CoderDojo Python &amp; Pygame</title><link>https://python.coderdojohasselt.be/en/challenges/03-pacman/index.html</link><description>Note Requires: session 9 finished.
A maze of blue walls. White dots everywhere. Four coloured ghosts coming at you. Eat all the dots to win. Touch a ghost and it’s game over.
Getting started Download the starter code and unpack the ZIP. Open main.py in Thonny and click Run. The maze appears and Pac-Man is ready to go. You add the movement, the collisions and the ghosts.</description><generator>Hugo</generator><language>en</language><atom:link href="https://python.coderdojohasselt.be/en/challenges/03-pacman/index.xml" rel="self" type="application/rss+xml"/><item><title>Pac-Man: Coach notes</title><link>https://python.coderdojohasselt.be/en/challenges/03-pacman/mentor-notes/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://python.coderdojohasselt.be/en/challenges/03-pacman/mentor-notes/index.html</guid><description>Goal of the challenge A ninja has finished the challenge when:
✅ Basic: Pac-Man moves with the arrow keys, stops at walls and changes direction correctly. ⭐ Stretch: dots are removed on touch, the score counts up, power dots activate powered_up, the game ends when all the dots are gone. 🔥 Expert: ghosts move through the maze and hunt Pac-Man; a collision leads to game over (or to eating the ghost when powered). Preparation Give the ninja the starter code. It contains main.py and the sounds/ folder. Click Run: the maze and all the sprites appear straight away. Pac-Man stands still and walks through walls (that is the Basic assignment). Check that pygame is available on the laptop (see Installing Thonny). New concept: pixel movement with dt This is the first time ninjas work with frame-rate independent movement. Explain it when they ask why dt:</description></item></channel></rss>