Hacker News new | ask | show | jobs
by number6 1488 days ago
So how die you do it?
1 comments

The generation of the 'script' uses a kind of L-System - like production rules. There's a big file along the lines of:

[the podcast] = [intro] [main body] [outro]

[main body] = [main prediction] [lucky colours] [alibi] etc

// these rules finally break down to text, eg

[main prediction start] = "A bite from a wild animal" or "A chance encounter"ยง

So the script has lots of combinations and is semi random - but it should always make sense.