LineCol is my linear variant of the game
Col. A board state is represented as an integer array.
At the beginning of the game, all positions (that is, indices) are uncolored (0). The first player "colors" positions with BLUE (1). The second player "colors" positions with RED (2).
Player's alternate coloring uncolored positions with their color under the constraint that a player may never color adjacent to an array position they have colored.
For example, the first player may never color an UNCOLORED (0) position BLUE (1) if either adjacent positions before or after are already colored BLUE (1).
The first player unable to make a legal play loses.