I cloned your repository and tried to play against the AI. There is one case where I win but the website says "Match nul!"
Here are the steps:
Turn 1
| |
-----
| |
-----
O| |
Turn 2
| |
-----
|X|
-----
O| |
Turn 3
O| |
-----
|X|
-----
O| |
Turn 4
O| |
-----
X|X|
-----
O| |
Turn 5
O| |
-----
X|X|O
-----
O| |
Turn 6
O|X|
-----
X|X|O
-----
O| |
Turn 7
O|X|
-----
X|X|O
-----
O|O|
Turn 8
O|X|X
-----
X|X|O
-----
O|O|
Turn 9
O| |X
-----
X|X|O
-----
O|O|O
If you prefer a gif : 
I cloned your repository and tried to play against the AI. There is one case where I win but the website says "Match nul!"
Here are the steps:
If you prefer a gif :