mjzitek / the-village Goto Github PK
View Code? Open in Web Editor NEWA text based adventure
A text based adventure
A 5 is a nomral healthy person. A 10 is used to indicate someone in great shape, no disease, etc.
Chronic health number has a higher impact on growth, but a really low current health can cause the bias number to go down if low enough (serious current health issues).
health : {
currentHealth: Number,
chronicHealth: Number,
healthFactors:
{
nutritionFactor: Number,
illnessFactor: Number,
illness: [ ]
}
}
/usr/share/code/javascript/the-village/persons/controllers/babies.js:188
persons.getPerson(mom.pregnancy.babyFatherId, function(dad) {
^
TypeError: Cannot read property 'pregnancy' of null
at /usr/share/code/javascript/the-village/persons/controllers/babies.js:188:26
at fn (/usr/share/code/javascript/the-village/persons/node_modules/async/lib/async.js:641:34)
at Object._onImmediate (/usr/share/code/javascript/the-village/persons/node_modules/async/lib/async.js:557:34)
at processImmediate [as _immediateCallback] (timers.js:325:15)
Sometimes a person or couples will show up married more than once as seen in the clip below. I believe it is due to an async issue.
Jan 5, 1918 Pleas Phillips has married Josie Scott
Jan 5, 1918 Pleas Phillips has married Josie Scott
Jan 5, 1918 Pleas Phillips has married Odie Sánchez
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.