Skip to content
starvia home
Codepath.haunted-house

Haunted House Debug

A free Halloween path that takes about an hour. Carve a pumpkin out of characters, fix the bugs in a haunted house's code, then build a trick or treat machine and let someone knock. You don't need to have coded before.

Missions
3
Time
~1 hr
Level
Beginner
Works on
Phone, Tablet, Laptop
Syllabus

What's in the path.

  1. 01

    The haunted house

    print, strings, variables, if and else, fixing AI-written code

    2 missions
  2. ★

    Project

    The Trick or Treat Machine

    1 mission
Final project

The Trick or Treat Machine

A Python program that asks who's at the door, rolls a dice and decides between trick and treat, with your own pumpkin, rules and messages.

Beyond the code
  • Reading someone else's code
  • Explaining how your program works
You'll need
  • A phone, tablet or laptop
  • A free starvia account
  • Nothing to install
Next

Pairs well with.

CodeReady now

Python from Zero

Build a text adventure and a quiz bot.

~10 hoursBeginner

£34for life
CodeBetaReady now

Game Dev in Godot

Build a 2D platformer you can send to friends.

~16 hoursIntermediate

£39for life