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
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.
After a set amount of time together, a couple should get married.
Makes sense, seeing as Cap indicates how well two people get on.
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.
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
i.e. it should apply to the initiator, not the target
Gaussian distributions should be redone so that 3 sds from the mean is the min/max for whatever number is being generated.
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
In the Person class, there is no default return value for isRelative. There should be one, and it should default to False.
because low conscientiousness implies spontaneity. So, multiply base marriage time by 0.5+C
?
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"?
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.
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.
If, by a set age, someone isn't married, they have a large chance of leaving the community and joining the army.
Change he to they in person.py, line 309
Add illnesses that could occur randomly, which each have a chance of killing a person.
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.
more to follow
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)
Title ^^^
Conscientiousness? Neuroticism?
i.e. test every function.
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.
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.
Left side of screen moves when the text in the inspector goes too far and pushes the event log down.
(Very) low rapport leads to fight? Chance increased by higher extroversion and higher neuroticism?
A viewable library of great works, similar to the mayor history view.
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.
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.