95 days ago · 8 min read1611 words · Tech · hide · Fediverse post

Hello, loves! Weird hours again, but very interesting spike. Have a look! Tout le monde déteste l’IA. So last night, instead of waking up early, I couldn’t get to sleep, which rarely happens. Nothing really bugging me, just couldn’t drop off, so I got up at 0050 or something and came to the computer. I set out to make a state table for the QuestGiverDenizen. I thought the table should be a dictionary of dictionaries, which is weird but seemed at 0100 to make sense. At first I got nowhere and so I drew a little state diagram om a card, and then sketched a table. With that down on paper, I went back to the code. First, I extracted the action steps that the Denizen takes on each event. This is still the existing code, just with the actions extracted: def interact(self, interactor): self.state = self.state(interactor) return False def seeking(self, interactor): if interactor.has(self.knowledge.quest_item): self.giving_action(interactor) return self.satisfied else:…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town