# Generic Tile Definitions

# Preface

the goal of this page is to iron out definitions to generically talk about grids in the context of a blognomic dynasty. inevitably in the few dynasties i have participated in when a dynasty uses grids, a lot of effort is put to perfect and define the definitions to talk about grids, tiles and their relationships. these definitions need to sit in the ruleset but at least can be copied if need be. additionally the generic terms can have an additional rule stating "distance is synonymous to [flavorful dynasty specific word]" similar to the "The terms “Monk” and “Player” are synonyms." present in the Appendix or by changing the terms in the proposal to introduce those definitions. Card (talk) 18:51, 30 October 2020 (UTC)

# Definitions

The Table is an X by Y grid of Tiles tracked on the Z wikipage.

Each Tile has a Row and a Column, that cannot change and are positive non-zero integers. A particular Tile can be referred to by "Tile (Row, Column)". The top left Tile of the Grid has a Row and Column of 1 and it is known as the Origin Tile. Tiles' Row and Column increase sequentially from the Origin Tile.

The following definitions also apply:

- Adjacent
- two different Tiles, A (X, Y) and B (P, Q) are Adjacent if the absolute value of X - P < 2 and the absolute value of Y - Q < 2.
- Level
- two different Tiles, A (X, Y) and B (P, Q), are Level if X = P or Y = Q.
- Diagonal
- two different Tiles, A and B, are Diagonal if A (X, Y) - B (P, Q) = (N, M) and the absolute values of N and M are equal.
- Index
- the Row or Column of a Tile.
- Pair
- a Pair is a Row and Column direction, represented in the format "(R, C)" where R and C are integers.
- Math
- Tiles can be added or subtracted, which yields a Pair. Tiles can also be added to or subtracted from a Pair, which yields a Tile. If the indices of a Tile resulting from adding or subtracting would be 0 or less it instead becomes 1.
*Example: A (N, M) - B (P, Q) = (N - P, M - Q). C (4, 8) - (6, -2) = (1, 10).* - Surrounded
- a Tile that is Adjacent to eight other tiles.
- Distance
- the absolute difference between two Tile's Rows plus the absolute difference between their Column.
- Rectangle
- A Rectangle has two Corner Tiles, A (X, Y) and B (P, Q) and X < P and Y < Q. Edge Tiles have either a Row that is equal to X or P or a Column that is equal to Y or Q. Corner tiles have a Row that is equal to X or P and a Column that is equal to Y or Q. Inner Tiles (I, J) are such that X < I < P and Y < J < Q.
- Diamond
- A Diamond has a Center Tile and a radius, Center (X, Y) and R and R > 0. Edge Tiles have a Distance of R from Center. Corner Tiles on a Diamond are Edge Tiles which are also Level to the Center. Inner tiles have a distance less than R from Center.
- Inverse
- Two Tiles, A (X, Y) and B (P, Q), are Inverse of each other if Q = X and P = Y.