https://ideas.creativecasinoties.com/post/agents-in-60-lines-of-python-part-4-ko75rg