// Command westworldwithwoman runs the extended demo from the book: // Miner Bob and his wife Elsa both tick forward together, so you can // watch their two state machines run side by side, same as the // book's sample console output. package main import ( "fmt" "git.jjstudio.me/jonas/Programming-Game-AI-by-Example-Go/chapter-2-state-driven-agent-design/westworldwithwoman" ) func main() { bob := westworldwithwoman.NewMiner(1) elsa := westworldwithwoman.NewElsa(2) const numUpdateSteps = 30 for range numUpdateSteps { bob.Update() elsa.Update() } fmt.Println() }