How it works:
Each coloured die represents one distinguishable gas particle, labelled with a unique Serial Number (P1, P2, etc.). To simulate kinetic motion over time, each "Roll" randomly selects just one particle. That particle then "throws" its k-sided die to decide which region it moves to. A single microstate is defined by the specific list of locations for every particle — e.g. P1 → Region 2, P2 → Region 1, P3 → Region 2.
A macrostate (often called a configuration on exams) is the total number of particles in each region (e.g., 3 in Region 1, 1 in Region 2). A microstate is the specific arrangement of exactly WHICH unique particles are where. Because particles are unique, many different microstates result in the exact same macrostate.
Ω = n! / (n1! n2! … nk!) = number of microstates for a given macrostate.
Theoretical probability P = Ω / kn.
Entropy S = kB ln Ω, where kB = 1.38 × 10−23 J K−1.
⚖ Fundamental Postulate of Statistical Mechanics:
Because each die roll is independent and the die is fair, every specific microstate is equally likely to occur with probability 1/kn. The most probable macrostate is simply the one with the greatest number of microstates (Ω).