Welcome to the local multiplayer chess game!
These pieces are meant to represent finite state machines as each piece can transition to the next state a certain way. Each piece's possible moves represents their finite state. S = {(r,c) | r, c exists in N} G = {(r,c) -> (r', c') | r, c, r', c' exists in N and d exists in N+: definition} q = (5, 4).