jthistle / community Goto Github PK
View Code? Open in Web Editor NEWA community simulator written in Python
License: GNU General Public License v3.0
A community simulator written in Python
License: GNU General Public License v3.0
Gaussian distributions should be redone so that 3 sds from the mean is the min/max for whatever number is being generated.
Add illnesses that could occur randomly, which each have a chance of killing a person.
At the moment a family will allocate as much food as possible to children, then share the remainder among adults, often leading to starvation for a season or two. Better logic would still prioritise children, but would anticipate the usage of food so that people may remain hungry, but wouldn't starve if possible.
Current inspection type should be the new "descriptive" type.
A new form of inspection should be added that's shorter and less wordy, maybe called "quick"?
(Very) low rapport leads to fight? Chance increased by higher extroversion and higher neuroticism?
The resting point for close family rapport should be higher than 0, say, 0.3. This should also be a separate value stored in the config file.
kinda like a hall of fame for mayors, just with names and dates. Should be a separate window, maybe with a scrollable listview? Or maybe a text area instead.
If someone is named the same as another person in the family on birth (including on initial community generation), their name should be appended with a Roman numeral, II if they're the second, III if they're the third etc.
In the Person class initializer, there is a line that is meant to generate attributes from a gaussian distribution, truncated to be between 0 and 1. At the moment it isn't truncated between these values.
After a set amount of time together, a couple should get married.
more to follow
This would contain key events in the person's life and the dates these events happened, as well as the friends they had when they died and a description of family relations.
Openness, Extroversion, and Neuroticism should decrease over time, while Conscientiousness and Agreeableness should increase. This probably shouldn't be a permanent increase, rather any returned attribute value should be a function of age and the starting attribute.
Anyone with at least a certain intelligence can produce a great work - chance is increased by a higher conscientiousness.
High openness: sculpture, symphony
Medium-High openness: painting, suite of music
Medium openness: work of fiction
Medium-low openness: scientific paper
Low openness: political treatise
Conscientiousness? Neuroticism?
Left side of screen moves when the text in the inspector goes too far and pushes the event log down.
If, by a set age, someone isn't married, they have a large chance of leaving the community and joining the army.
Post 1.0, more details to follow.
The plan:
an adult > 18yrs is elected as mayor for a term of x years. Vote are cast by every member of the community >16yrs.
only people with a certain extroversion stand as candidates?
votes cast based on cap value? Could be based on political orientation difference instead? Added rapport modifier
the mayor's family gets a food bonus
in calculating the addition, the section:
(16*4/(16*4-p.age))
is incorrect. This could lead to ZeroDivisionError.
It should be
((16*4-p.age)/16*4)
if someone kills someone else, the mayor should decide whether to exile them or not. In the case that no mayor is in office, the judgement will be delayed until the next time a mayor's in office.
A viewable library of great works, similar to the mayor history view.
Title ^^^
Makes sense, seeing as Cap indicates how well two people get on.
because low conscientiousness implies spontaneity. So, multiply base marriage time by 0.5+C
?
i.e. it should apply to the initiator, not the target
i.e. test every function.
In the Person class, there is no default return value for isRelative. There should be one, and it should default to False.
Change he to they in person.py, line 309
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.