A funny dog simulation exercise
$ go run main.go
You go to the pet store and come home with a dog named Fred
Fred runs around
Fred plays with toys
Fred goes BARK BARK BARK
Fred sleeps...
Fred plays with toys
Fred plays with toys
Fred runs around
Fred is incredibly tired and stops to sleep.
Fred sleeps...
Fred sleeps...
Fred sleeps...
Fred goes BARK BARK BARK
Fred plays with toys
Fred plays with toys
Fred goes BARK BARK BARK
Fred is incredibly tired and stops to sleep.
Fred sleeps...
Fred runs around
Fred plays with toys
Fred runs around
Fred is incredibly tired and stops to sleep.
Fred sleeps...
Fred plays with toys
Fred has lived a good life but is now dead.