#!/usr/bin/python

# Through the Park, copyright (c) 2013, 2018 Nick Montfort <nickm@nickm.com>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any warranty.
#
# Updated 31 May 2018, changed "print" for Python 2 & 3 compatibility
# Updated 26 November 2018, substituted a shorter all-permissive license

import random, textwrap

for i in range(0, 8):
    text = ["The girl grins and grabs a granola bar",
            "The girl puts on a slutty dress",
            "The girl sets off through the park",
            "A wolf whistle sounds",
            "The girl turns to smile and wink",
            "The muscular man paces the girl",
            "Chatter and compliments cajole",
            "The man makes a fist behind his back",
            "A wildflower nods, tightly gripped",
            "A snatch of song reminds the girl of her grandmother",
            "The man and girl exchange a knowing glance",
            "The two circle",
            "Laughter booms",
            "A giggle weaves through the air",
            "The man's breathing quickens",
            "A lamp above fails to come on",
            "The man dashes, leaving pretense behind",
            "Pigeons scatter",
            "The girl runs",
            "The man's there first",
            "Things are forgotten in carelessness",
            "The girl's bag lies open",
            "Pairs of people relax after journeys and work",
            "The park's green is gray",
            "A patrol car's siren chirps"]
    phrases = 7 + random.randint(0,4)
    while len(text) > phrases:
        text.remove(random.choice(text))
    print("\nThrough the Park [" + str(i+1) + "]\n\n" + \
        textwrap.fill(". ... ".join(text) + ".", 60) + "\n\n\n\n")
