Dog Chases Cat

Added better names and the class hierarchy as per the previous post. Also added event sequences which can span multiple moves. Here is a chase sequence, which has a WantToChaseEvent, ChaseEvent and ReconcileEvent whereby both chaser and chasee are happy with the reconciliation:

# evaluated: 2, score: 20, eval: 0

Best score: 20
Dilly Dog saw Cassie Cat wanted to chase Cassie Cat.
Dilly Dog chased Cassie Cat for awhile.
Dilly Dog and Cassie Cat reconciled and became friends.

Next Task: More Animals, Better Names

I’m going to create a class hierarchy of a larger list of animals: their likes, dislikes and capabilities, and also try to generate better names for the animals, cross referencing the names against an actual name database. I’m also going to allow the universe to speak: it can serve as the narrator.

A friend of mine told me this the other day:

Spencer (age 12) just read the story about Donica Duck and the tree. His response: “does the AI that wrote the story know that the duck didn’t necessarily intend the stick to be for the dog? It just said “the duck brought the stick to the ground” The duck could have had other plans for the stick…and the dog might have eaten the duck…hmmm…maybe they had a “no eating” pact…

I treat this response as a total success for robot fiction, because Spencer has placed himself in the world created by the story… and I’m also impressed with Spencer’s observation that the dog’s gratitude may have been misplaced.

That totally made my day.