Free tools & games for everyone
Free · No sign-up · No accounts
Make a classroom seating chart and student groups that keep students apart or together, seat some near the front, balance levels and avoid repeat pairs.
rows
apart: Ben, Gus keeps them from sitting next to each other or sharing a group; together: Hana, Nia seats them side by side and in the same group; front: Sam seats them near the board.| Tab | Move between boxes, buttons and seats |
|---|---|
| Enter or Space on a seat | Pick it for a swap (or add or remove a desk while editing) |
Seating is a search: the class starts in a random arrangement, then pairs of seats (filled or empty) are swapped whenever the number of broken rules does not go up, several thousand times, from several fresh starts. Two desks touch when they are within one row and one place of each other; side by side means the same row and the next place.
Groups use the same idea. Group sizes differ by at most one. Mixed groups start from a snake draft (highest levels dealt out one way, then back the other way); every swap then lowers a cost made of broken rules first, then pairs who have worked together before, then the difference between groups’ average levels (or the level spread inside each group for similar groups).
The tests check the rule counting against an independent Python version, that solvable rooms are solved with every rule met, that group sizes and rules hold, and that kept groupings are avoided.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product