So i'm going to be coding an ecosystem success simulator for my science fair project, where it will account for some different variables, all on a 1-10 scale but two. For the other two, one would be selecting which climate out of 5 choices, and the other entering how many competing species there are. So I'm kinda nooby on coding things my own, but I'm thinking of using javascript for this, so it can be used in a browser easily. So how should I lay this out? I was thinking, for the 1-10 values, simply add 1 point, and if I decide there are some more important than others, put a weight on it. For the climate types, just assign a integer value to each one and it gives points for which one clicked (IE one would be 2 points, the other 4, etc.)
Thoughts? Is this a flawed system? Is there a better way?
Ecosystem Sim
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Ecosystem Sim
It sounds pretty good to me and I don't see any flaws in it 
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Ecosystem Sim
Sounds very kewl and makes a great science project.
Re: Ecosystem Sim
This is me, but what's the resolution method? Gamble/luck (which is pretty Darwinistic, granted)?
I guess it's hard to build something complex enough that one can't really be certain of the outcome. But do the variables put in matter - or have you already decided some species just survive if you put in certain values and others don't?
I guess it's hard to build something complex enough that one can't really be certain of the outcome. But do the variables put in matter - or have you already decided some species just survive if you put in certain values and others don't?
Re: Ecosystem Sim
It'll take into the account the variables put in, and then there may be some randomness in generating the percent. IE if there's an arid climate, with no water source, regardless of everything else you'll have low success rate. There may be some randomness in putting out the actual %, but the general will be the same. I'll probably use thresholds, maybe something else if I think of it or if anyone else has a suggestion.Callan S. wrote:This is me, but what's the resolution method? Gamble/luck (which is pretty Darwinistic, granted)?
I guess it's hard to build something complex enough that one can't really be certain of the outcome. But do the variables put in matter - or have you already decided some species just survive if you put in certain values and others don't?