Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Latest commit

 

History

History
9 lines (5 loc) · 667 Bytes

readme.md

File metadata and controls

9 lines (5 loc) · 667 Bytes

Not Fair

Programming game for NZOI January Camp 2018, inspired by Life

Concept

The game is played on a rectangular grid. Two (or possibly more) players take turns selecting a cell to attempt to convert to their colour. When a cell is selected, it changes colour probabilistically, depending on the colours of neighbouring squares and on which player's turn it is.

Specifically, when a player selects a cell, the colours of the cells in a 3x3 grid centered on the selected cell are counted. The weight used to distribute the probability between outcomes is taken as the count of cells of that colour, plus one for the colour of the player whose turn it is.