C
Clddleopard
Ok, here's the bare bones of the idea I've been kicking around in my head.
I'm just going to narrate for you what I need to do, and maybe some of you
will have some brilliant ideas about how to do this.
I have a table of animals
I have a table of enrichments. There are four "types" of enrichments coded
F, T, E, and S.
There are four enrichment frequencies: once a week, twice a week, three
times a week and four times a week.
A specific animal has a specific enrichment frequency that does not change,
so the frequency would probably be stored in the animal table
I would like the days the animal receives the enrichment and the type of
enrichment to be randomized. An example of the type of output I would like to
see:
This week: Sasha (the animal) Monday-F Wednesday-T Thursday-T Sunday-S
Next week: Sasha Tuesday-E Wednesday-S Friday-F Sunday-T
I think it would be pretty easy to do if I just made the frequencies always
happen on the same day, but that diminishes the power of the enrichment. You
don't want it to be rigidly scheduled. Also, I'd like to be able to put a cap
on the number of times the same type of enrichment could be scheduled so that
they don't get a 'T" enrichment every time.
It's kind of a big problem and other than having the tables set up, I
haven't really started in on it yet. Just thought I would share the fun!
Hope this sounds interesting to someone, and I certainly would appreciate
any help I could get!
I'm just going to narrate for you what I need to do, and maybe some of you
will have some brilliant ideas about how to do this.
I have a table of animals
I have a table of enrichments. There are four "types" of enrichments coded
F, T, E, and S.
There are four enrichment frequencies: once a week, twice a week, three
times a week and four times a week.
A specific animal has a specific enrichment frequency that does not change,
so the frequency would probably be stored in the animal table
I would like the days the animal receives the enrichment and the type of
enrichment to be randomized. An example of the type of output I would like to
see:
This week: Sasha (the animal) Monday-F Wednesday-T Thursday-T Sunday-S
Next week: Sasha Tuesday-E Wednesday-S Friday-F Sunday-T
I think it would be pretty easy to do if I just made the frequencies always
happen on the same day, but that diminishes the power of the enrichment. You
don't want it to be rigidly scheduled. Also, I'd like to be able to put a cap
on the number of times the same type of enrichment could be scheduled so that
they don't get a 'T" enrichment every time.
It's kind of a big problem and other than having the tables set up, I
haven't really started in on it yet. Just thought I would share the fun!
Hope this sounds interesting to someone, and I certainly would appreciate
any help I could get!