Each square starts out randomly as one of five colours. Each generation the cells will change to the colour shared by most of its neighbors. So it will become red if it is touching mostly red squares. Ties are settled by a roll of the dice.