I'm writing a scheduling app for my girlfriend who is a teacher to help get the kids to do things with random students rather then the same pair every time.
To simplify it, I have four time slots, A, B, C, D. In each time slot there are 10 activities that can be occupied, and 10 kids to fill them (not all the class will be doing the activities at the same time). She wants two kids per center. So for any given time slot, half of the centers will be occupied. All of that is easy up to this point.
Now for the part I can't quite wrap my brain around, each kid needs to do every center once per week (Each student gets 2 activities per day so 2 * 5 = All 10). The entire week is going to be generated at once, and I don't need to keep track of previous weeks. When I am figuring out where to put what kid, how can I ensure they end up doing all 10 things over the course of the week?
Any questions about how it's supposed to work please ask!
Thanks!
Edit: Of course I always think of more when I ask the question, but I could build a class (C#, not school class
) for each student that keeps track if they have been assigned that activity (1-10) for the week. As far as student pairing, that should be as random as possible at the time of matching (seeding with the time is fine), I'm just not sure how to implement the actual scheduler to get all the kids in the activities
To simplify it, I have four time slots, A, B, C, D. In each time slot there are 10 activities that can be occupied, and 10 kids to fill them (not all the class will be doing the activities at the same time). She wants two kids per center. So for any given time slot, half of the centers will be occupied. All of that is easy up to this point.
Now for the part I can't quite wrap my brain around, each kid needs to do every center once per week (Each student gets 2 activities per day so 2 * 5 = All 10). The entire week is going to be generated at once, and I don't need to keep track of previous weeks. When I am figuring out where to put what kid, how can I ensure they end up doing all 10 things over the course of the week?
Any questions about how it's supposed to work please ask!
Thanks!
Edit: Of course I always think of more when I ask the question, but I could build a class (C#, not school class