2019-04-17 10:12:51 +02:00

1.9 KiB

Fachschaftslogo

Popkulturkode:

Das Pseudocode-Quiz

Anika Amma Anna Sauer

Here is how this works:

  • 2 teams of 3 players compete
  • 5 rounds with 7 questions
  • each question: a pseudocode snippet representing a film / TV show / book
  • it may allude to the title, the plot or famous lines
  • the team that guesses the represented story first gets a point

Let's see an example:

protagonist = new Heroine()
charming = new Prince()
while not prince.comes_along():
    protagonist.hair_length++



Another example

hero = new Spy;
hero.catchphrase =
    "My name is %s, %s %s".format(hero.name, hero.firstname, hero.name)


One more example

const c = new Club();
console.log(c); // prints nothing