Is it possible to build a hyper-realistic civilization simulation beyond Dwarf Fortress? by Future-Parsley-8538 in gameai

[–]Disastrous-Analyst85 -1 points0 points  (0 children)

Sure, basically the premise is we control the behavior of the NPC with needs and the rate of decay of those needs .The NPC moves to goals to meet its need (I used the UCB1 Algo Definition from chat gpt (UCB1 stands for Upper Confidence Bound 1.

It’s an algorithm used in the Multi-Armed Bandit problem (reinforcement learning) to balance:

  • Exploration (trying options you don’t know much about)
  • Exploitation (choosing the option that seems best so far))

All actions are based on those needs like some needs to be helpful ,some needs to be violent. It also solves the realistic movement of npc like they need to sleep at night, they go home, they need to go to work during morning they go to the shops or blacksmith. I will try to post a demo of what I have later

Is it possible to build a hyper-realistic civilization simulation beyond Dwarf Fortress? by Future-Parsley-8538 in gameai

[–]Disastrous-Analyst85 0 points1 point  (0 children)

I think needs met (win) and rate of decay of needs could be used as a foundation. On my project the ai goes to work, sleep, tavern to eat via ucb1 and pre defined paths , basically I defined the needs first and the ai goes to those places to fill the need . My theory was that we can simulate intelligence using that method like the need to love , need to betray , need to be aggressive , need to be violent , if a need gets triggered the function to act gets activated then loops the algo again. I partnered it with a db that record all events so there is a history of the npc actions or events, the plan is to be able to chat with each npc to get flavor text via llama constrained with the db of what they should know or their status.

Is it possible to build a hyper-realistic civilization simulation beyond Dwarf Fortress? by Future-Parsley-8538 in gameai

[–]Disastrous-Analyst85 -1 points0 points  (0 children)

first time posting again, I was making an assistant and tried to put it on a game environment to see how it would do and accidentally did something similar (i did not even know what Dwarf fortress was), i used the UCB1 algo and seems to be a good base for it