Scratch Harry Potter Sorting Hat Game for Grades 3-5

Learn to code your own Harry Potter Sorting Hat Game in Scratch!

Logging In

You will need a Scratch account.  You can log in with an existing account at or create one through the New Canaan Library class page.

Starter Project

Begin with the Harry Potter Sorting Hat Game Starter Project.  Remix this project to start coding your game.  You need to start with this project to follow-along!

Staying Connected

If you or your student need help with this project, please reach out to Laura at If asking for help with the code, make sure your Scratch project has been shared and include a link to it in your email.  Share a link to your finished game to have it included in the class studio for all to play!

Part 1: Introduction & Game Controls

Part 2: Keeping Score

Part 3: Activating a Timer

Part 4: House Sorting

New Canaan Library is proud serve our community during these unprecedented times.

Our team is continually working to deliver excellent digital collections, services and programs 24/7.

Your charitable support makes a real difference! Please join us by making a gift today to help us  reach our Annual Fund goal by June 30th.