The game of N-Circular TicTacToe is defined as follows:

Informally, there is a circular board with $N$ empty slots where Alice and Bob place $X$'s and $O$'s. Whoever gets to place three consecutive symbols first wins.
More formally:
- There are two players: Alice and Bob playing against each other.
- The game progresses in turn, with Alice playing first.
- In the beginning, Alice and Bob has two sets $A_0$ and $B_0$ with both empty and a set $S_0 = \{ 0, 1, 2, \cdots N-1\}$.
- For every $i \geq 1$, the $(2i - 1)$th turn consists of Alice picking some number $a \in S_{2i-2}$ and placing it in $A_{2i-1}$, i.e, $A_{2i-1} = A_{2i-2} \cup \{a\}$ and setting $S_{2i-1} = S_{2i-2} \setminus \{a\}$, thus making $a$ unavailable. Similarly, every $(2i)$th turn consists of Bob picking some number $b \in S_{2i-1}$ and placing it in $B_{2i}$, i.e, $B_{2i} = B_{2i-1} \cup \{b\}$ and setting $S_{2i} = S_{2i-1} \setminus \{b\}$.
- The game stops after the end of turn $j$ if:
- There exists some $n \pmod N$ such that $n \pmod N, n+1 \pmod N, n+2 \pmod N$ are all in $A_j$. In this case, Alice wins.
- There exists some $n \pmod N$ such that $n \pmod N, n+1 \pmod N, n+2 \pmod N$ are all in $B_j$. In this case, Bob wins.
- Neither of the above hold, but $S_j = \phi$, in which case neither player wins.
Who'd have the winning strategy of this game? Also, how would the game evolve if the circularity was removed, i.e, we considered the numbers from $\{0, 1, \cdots (n-1)\}$ as is, instead of modulo $N$
I have no idea how to approach this problem without a lot of brute-force or case analysis. Any help is appreciated.
I claim that the strategy of proximity always leads to a draw:
Idea: If Alice places an X in position $j$, Bob chooses either $j+1$ or $j-1$. This is always necessary since two adjacent X with no proximate O lead to the victory of Alice. And it looks to be sufficient to draw.
Detail:
First move: If Alice places an X in position $j$, Bob chooses $j+1$.
Since the second move, I want to give Bob a precise strategy to choose between $k-1$ and $k+1$. I say that Bob chooses the side which has the closest X with no O's in between.