Hey guys, I am working on some sort of text based simulator that can generate game world and its inhabitants and then simulate the changes in that world. Like rise and fall of civilizations.
It must sound super complicated but it probably doesn't have to be. Basically, it would be some sort of pseudo engine to simulate world and AI civilizations in civilization management Quests or CYOAs games, played on imageboards like this.
It would help a ton with creating random events and making game more dynamic since neighbouring civilizations wouldn't stay at same power all the time or depend on my judgement of how they would develop. Instead I would like the computer to handle it by computing together factors on which development of civilizations would depend on.
I would just write it in form of webpage(s) with HTML5 and JavaScript. I would really prefer to keep to web development languages. I have seen well made advanced game of similar theme being contained in single .html document, so its gotta be possible.
I would like to put it to use as soon as I get necesarry ammount of calculations working so the program can take care of most important stuff like population growth, happiness, AI settlement expansion, resource management of AI civilizations, etc...
To be clear, this isn't me asking for help. I just wanted to show of my idea and am curious what do you guys think. If anyone wants to work on this with me, I would try to coordinate with them, but I can't make performance promises.
This is just my little thing to keep me occupied and away from degenerate drugs/hobbies.
Also I am hypocrite for telling Atlas that game developing is a time sink and waste of time and its oversaturated market. While all of these things might be true, I am doing game dev myself now.
Here is code from .html file:
https://pastebin.com/HcBhSYVx
And here is code from .js file:
https://pastebin.com/b58pQN3Q