Week 6: Feb 11-15

Algorithms and data- Pseudocode- Night in the Museum game

Learning objectives:

  • Identify the important characteristics of pseudocode, including that it should be short, clear, and precise and should have the start and end clearly shown.
  • Follow and understand algorithms that are presented as pseudocode.
  • Follow flowcharts and pseudocode algorithms that use conditional statements.

Pseudocode is useful :

Pseudocode for our game:


Game images:

Game code:

To add a game title:

To define and name Coin, Mummy, background and score:

 def draw(): function:

def update (): function: