Reduction

Team '; DROP TABLE teams;

Rules:


Basic gameplay: Reduction is played on a square board of some size which the players can choose (side length between 10 and 20). Each space of this board is either empty or full; the board starts out with each space randomly empty or full. In Reduction, players make changes to the board. There are three types of change; each of these types affects only a 2x2 region of the board and can be done by clicking near the center intersection of that 2x2 region. If you can make a change on a 2x2 region, that region's center intersection will be green; otherwise, its center intersection will be red.
  1. Take an entirely empty 2x2 region and make it entirely full.
    Empty 2x2 region Full 2x2 region
  2. Take an entirely full 2x2 region and make it entirely empty.
    Full 2x2 region Empty 2x2 region
  3. Take a 2x2 region with only two spaces filled and with those two spaces separated by a diagonal (rather than one being directly above or to the left of the other), and to flip all the spaces in that 2x2 region, resulting in that region still having two diagonally separared full spaces but with those spaces being the other two spaces in the region.
    Diagonal 2x2 region Other diagonal 2x2 region
On a turn, a player can make up to some number of changes to the board. Like the board size, this number of changes is chosen by the players at the start of the game (at least 5, no upper bound). The goal of each player on their turn is to reduce the number of full spaces from its value at the start of their turn. As soon as they do this, their turn ends. However, if they make the maximum allowed number of changes per turn without reducing the number of full spaces, the game ends and they lose (the other player wins).