From 321c590180a35eaa8268634e609115eccb15f1b8 Mon Sep 17 00:00:00 2001 From: Anika Date: Wed, 17 Apr 2019 00:00:06 +0200 Subject: [PATCH] Some minor changes here and there --- sections/00.md | 24 +++++++++++++++++++----- sections/01.md | 11 ++++++----- sections/02.md | 5 +++-- sections/03.md | 16 +++++++++++++--- 4 files changed, 41 insertions(+), 15 deletions(-) diff --git a/sections/00.md b/sections/00.md index 17ba8cc..bb2d733 100644 --- a/sections/00.md +++ b/sections/00.md @@ -1,7 +1,8 @@ -Fachschaftslogo +Fachschaftslogo -## Pseudocode-Quiz +## Popkulturkode: +### Das Pseudocode-Quiz
Anika Amma Anna Sauer @@ -9,14 +10,16 @@ --- -## This is how this works: +## Here is how this works: +* 2 teams of 3 players compete * 5 rounds with 7 questions -* each question: a pseudocode snippet that represents a film / TV show / book +* each question: a pseudocode snippet representing a film / TV show / book * it may allude to the title, the plot or famous lines -* the group that guesses the represented story first gets a point +* the team that guesses the represented story first gets a point --- +## Let's see an example: ``` protagonist = new Heroine() charming = new Prince() @@ -24,3 +27,14 @@ while not prince.comes_along(): protagonist.hair_length++ ``` +--- + +
+
+
Rapunzel
+

+ source: https://commons.wikimedia.org/wiki/File:Stamps_of_Germany_(DDR)_ + 1978,_MiNr_2383.jpg +

+
+
diff --git a/sections/01.md b/sections/01.md index 31a1f00..614b53b 100644 --- a/sections/01.md +++ b/sections/01.md @@ -123,11 +123,12 @@ let it = 'go'; --- ``` -(1) #E6E6E6 (2) #B8B8B8 (3) #BDBDBD -(4) #A4A4A4 (5) #848484 (6) #585858 -(7) #424242 (8) #6E6E6E (9) #2E2E2E -(10) #151515 (11) #7D7D82 (12) #3D3C44 -(13) #3B3A3E ... (49) #5B585A (50) #596159 +(1) #E6E6E6 (2) #B8B8B8 (3) #BDBDB9 +(4) #A4A4A4 (5) #848484 (6) #585858 +(7) #424242 (8) #6E6E6E (9) #2E2E2E +(10) #151515 (11) #7D7D82 (12) #3D3C44 +(13) #3B3A3E ... + ... (49) #5B585A (50) #596159 ``` --- diff --git a/sections/02.md b/sections/02.md index fd89d23..4447834 100644 --- a/sections/02.md +++ b/sections/02.md @@ -43,7 +43,7 @@ hero.has_hairy_feet() = True ``` -hero.goal = "Destroy the tiny piece of jewellery" +hero.goal = destroy(jewelery) ``` @@ -95,7 +95,8 @@ hero.suffer(); ``` for each person in story: - person.goal = "Sit on the most uncomfortable chair in the world" + person.goal = + "Sit on the most uncomfortable chair in the world" ``` --- diff --git a/sections/03.md b/sections/03.md index ee699c4..12b2e1e 100644 --- a/sections/03.md +++ b/sections/03.md @@ -104,7 +104,7 @@ if (whatCounter > 3) { ``` lives_in _forest(b) -dies(parent_of(b) AND mother_of(b)) +dies(mother_of(b)) ``` --- @@ -136,6 +136,11 @@ if (hero.dies()) { } ``` +``` +raise SizeException("the inside is bigger than the outside") +``` + + --- @@ -192,12 +197,17 @@ while (true) { --- ``` -is_palindrome(bandname) -> True len(bandname) > 4 ``` +``` +is_palindrome(bandname) +> True +``` + + + ---