In the game SET each card has $4$ properties (color, filling, shape and number), each with $3$ possible values, for a total of $3 ^ 4 = 81$ cards. We can think of cards as elements of $\{0,1,2\} ^ 4$. 3 cards $x,y$ and $z$ are said to form a SET if at every coordinate, they are either all equal or all different. That is, for every $i$, either $x_i = y_i = z_i $ or $\{x_i,y_i,z_i\} = \{0,1,2\}$. More generally, we call any such game with the cards $\{0,1,2\} ^ i$ a SET-like game.
It is easy to see that in a SET-like game, for any $2$ distinct cards, there exists exactly $1$ card that completes them into a set. I want to know if SET-like games are the only structures satisfying this property.
More precisely, let $X$ be a nonempty set and $S \subseteq \{s \subseteq X \mid |s| = 3 \}$ such that for every distinct $x,y\in X$, there exists a unique $z \in X$ so that $\{ x, y, z \} \in S$. Does it follow that $(X, S)$ is isomorphic to some SET-like game?
All I've managed to prove to far is that $|X|$ is odd: given $a \in X$, we can partition $X \setminus \{ a \}$ into pairs, where $ \{ b,c \} $ are a pair if $\{ a, b, c \} \in S$. The main direction to a solution I have in mind is to try to prove that $|X|$ is a power of $3$.
The problem is also equivalent to the following in the language of hypergraphs: what are the possible $3$-uniform, $\frac{|X| - 1}{2}$-regular, linear hypergraphs, $(X, E)$, where $|X|$ is odd?