Skip to content

Instantly share code, notes, and snippets.

@cesque
Last active August 29, 2015 14:09
Show Gist options
  • Select an option

  • Save cesque/4e195ee7d286ef08cbdf to your computer and use it in GitHub Desktop.

Select an option

Save cesque/4e195ee7d286ef08cbdf to your computer and use it in GitHub Desktop.
Generating a text using characters with finite state machine-controlled behaviour - first attempt
Huw stands idly. Huw stands up. An interesting thought strikes Huw. Huw thinks.
Huw continues his train of thought. Huw continues his train of thought. Huw
snaps out of his daydream. Huw gets bored. Huw stands idly. Huw gets tired and
sits down. Huw stands up. Huw sees something interesting on the other side of
the room, and decides to take a closer look. Huw walks towards the other side of
the room. Finally, Huw reaches his destination. An interesting thought strikes
Huw. Huw thinks. Huw continues his train of thought. Huw snaps out of his
daydream. Huw sees something interesting on the other side of the room, and
decides to take a closer look. Huw walks towards the other side of the room.
Finally, Huw reaches his destination. Huw gets bored. Huw stands idly. Huw gets
tired and sits down. Huw sits quietly. Huw stands up. Huw sees something
interesting on the other side of the room, and decides to take a closer look.
Huw walks towards the other side of the room.
Tom stands idly. Tom gets tired and sits down. Tom sits quietly. Tom stands up.
An interesting thought strikes Tom. Tom thinks. Tom continues his train of
thought. Tom continues his train of thought. Tom snaps out of his daydream. Tom
gets bored. Tom stands idly. Tom gets tired and sits down. Tom stands up. Tom
sees something interesting on the other side of the room, and decides to take a
closer look. Tom walks towards the other side of the room. Finally, Tom reaches
his destination. An interesting thought strikes Tom. Tom thinks. Tom continues
his train of thought. Tom continues his train of thought. Tom snaps out of his
daydream. Tom sees something interesting on the other side of the room, and
decides to take a closer look. Tom walks towards the other side of the room.
Finally, Tom reaches his destination. Tom gets bored. Tom stands idly. Tom
stands up. Tom sees something interesting on the other side of the room, and
decides to take a closer look. Tom walks towards the other side of the room.
Finally, Huw reaches his destination. Huw gets bored. Huw stands idly. Huw gets
tired and sits down. Huw stands up. Huw sees something interesting on the other
side of the room, and decides to take a closer look. Huw walks towards the other
side of the room. Finally, Huw reaches his destination. Huw gets bored. Huw
stands idly. Huw stands up. A popular tune pops into Huw's head. Huw hums. Huw
stops humming. Huw gets bored. Huw stands idly. Huw gets tired and sits down.
Huw sits quietly. Huw stands up. An interesting thought strikes Huw. Huw thinks.
Huw continues his train of thought. Huw continues his train of thought. Huw
snaps out of his daydream. Huw sees something interesting on the other side of
the room, and decides to take a closer look. Huw walks towards the other side of
the room. Finally, Huw reaches his destination. Huw gets bored. Huw stands idly.
Finally, Tom reaches his destination. Tom gets bored. Tom stands idly. Tom gets
tired and sits down. Tom stands up. Tom sees something interesting on the other
side of the room, and decides to take a closer look. Tom walks towards the other
side of the room. Finally, Tom reaches his destination. Tom gets bored. Tom
stands idly. Tom stands up. A popular tune pops into Tom's head. Tom hums. Tom
stops humming. Tom gets bored. Tom stands idly. Tom gets tired and sits down.
Tom stands up. An interesting thought strikes Tom. Tom thinks. Tom continues his
train of thought. Tom continues his train of thought. Tom snaps out of his
daydream. Tom sees something interesting on the other side of the room, and
decides to take a closer look. Tom walks towards the other side of the room.
Finally, Tom reaches his destination. Tom gets bored. Tom stands idly.
Huw stands up. Huw sees something interesting on the other side of the room, and
decides to take a closer look. Huw walks towards the other side of the room.
Finally, Huw reaches his destination. An interesting thought strikes Huw. Huw
thinks. Huw continues his train of thought. Huw snaps out of his daydream. Huw
sees something interesting on the other side of the room, and decides to take a
closer look. Huw walks towards the other side of the room. Finally, Huw reaches
his destination. Huw gets bored. Huw stands idly. Huw stands up. Huw sees
something interesting on the other side of the room, and decides to take a
closer look. Huw walks towards the other side of the room. Finally, Huw reaches
his destination. Huw gets bored. Huw stands idly. Huw stands up. Huw sees
something interesting on the other side of the room, and decides to take a
closer look. Huw walks towards the other side of the room.
Tom stands up. Tom sees something interesting on the other side of the room, and
decides to take a closer look.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment