🔥 Your Mission

Create some code on pen and paper! (It’s written-out logic that can be read step-by-step like actual code, but it’s not actual code).

Instructions

  1. Write out code by hand on paper.
  2. You use logical English and maths statements, like…
    1. If, Then, or Else
    2. True or False
    3. Loop forever
    4. Add, subtract, etc.

Example

Pseudocode that asks if you want a stray cat to move in with you:

Screenshot 2023-07-04 at 10.41.36 PM.png

Screenshot 2023-07-04 at 10.44.29 PM.png

Do you want a stray cat?
If yes:
	Then NPC says "Great! Here's a cat."
  wants a cat = True
Else (aka, if no):
	NPC says: "Oh, ok." [Then nothing happens.]

Challenges

  1. NPC asks you if you are a cat person or a dog person. If you’re a cat person, you get a kitten. If you’re a dog person, nothing happens.
Hint:

Are you a cat person or a dog person?
If cat person:

Else:
  1. Make a kitten show up in your house when you tell the NPC that you’re a cat person. Start by hiding the kitten in the house (see code hint below):
Hint:

Hide kitten in the houes

Are you a cat person or a dog person?
If cat person:

	

Else:

Create this in GB Studio with an actual kitten and an NPC. Use the events from GB Studio called Deactivate Actor and Activate Actor.

Extra Extra Challenge

Your younger brother is annoying and keeps asking you why you like cats. Every time you answer him, he says “Why?” and he does not stop asking why. Create pseudocode for this, then create this in GB studio. Hint: Put the dialogue in a Forever Loop, like below.

Hint:

Loop:
	Brother: Do you like cats?
	If yes:

	Else

Screenshot 2023-07-04 at 10.44.29 PM.png