Created
April 7, 2021 15:14
-
-
Save noqqe/7670ed419a534fc072973ee79e481cdd to your computer and use it in GitHub Desktop.
Armin Laschet denkt über Ostern nach.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
var number = []string{ | |
"ein-", | |
"zwei-", | |
"drei-", | |
"vier-", | |
"fünf-", | |
"sechs-", | |
} | |
var timescale = []string{ | |
"tägige/n", | |
"wöchige/n", | |
"monatige/n", | |
"fache/n", | |
"malige/n", | |
"hebige/n", | |
} | |
var adjective = []string{ | |
"harte/n", | |
"soften", | |
"optionale/n", | |
"intransparenten/n", | |
"alternativlose/n", | |
"unumkehrbare/n", | |
} | |
var pre = []string{ | |
"Wellenbrecher-", | |
"Brücken-", | |
"Treppen-", | |
"Wende-", | |
"Impf-", | |
"Ehren-", | |
} | |
var word = []string{ | |
"Lockdown", | |
"Stopp", | |
"Maßnahme", | |
"Kampagne", | |
"Sprint", | |
"Matrix", | |
} | |
var target = []string{ | |
"zum Sommer", | |
"auf Weiteres", | |
"zur Bundestagswahl", | |
"2030", | |
"nach den Abiprüfungen", | |
"in die Puppen", | |
} | |
var adj = []string{ | |
"sofortigen", | |
"nachhaltigen", | |
"allmählichen", | |
"unausweichlichen", | |
"wirtschaftsschonenden", | |
"willkürlichen", | |
} | |
var reason = []string{ | |
"Senkung", | |
"Steigerung", | |
"Beendigung", | |
"Halbierung", | |
"Vernichtung", | |
"Beschönigung", | |
} | |
var last = []string{ | |
"Infektionszahlen.", | |
"privaten Treffen.", | |
"Wirtschaftsleistung.", | |
"Wahlprognosen.", | |
"dritten Welle.", | |
"Bundeskanzlerin.", | |
} | |
func rnd(c []string) string { | |
return c[rand.Intn(len(c))] | |
} | |
func main() { | |
rand.Seed(time.Now().Unix()) | |
fmt.Printf("Was wir jetzt brauchen, ist ein/e %s%s %s %s%s \nbis %s zur %s %s der %s", rnd(number), rnd(timescale), rnd(adjective), rnd(pre), rnd(word), rnd(target), rnd(adj), rnd(reason), rnd(last)) | |
} |
Author
noqqe
commented
Apr 7, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment