next up previous
Next: 13.8 Setting ``game of Up: 13 Rules. Previous: 13.6.2 The rule window.

13.7 Setting the majority rule

.

If ``m'' is selected, in #13.6 above, the ``majority'' rule will be set. The majority rule outputs 1 for a majority of 1s in the neighbourhood, 0 for a majority of 0s . In the case of even size neighbourhoods, and a tie between 1s and 0s, the output is set according to the value of the central neighbourhood index (see #9.2).