What it's thinking

good for the player to move level bad

The game tree from here

X wins with best play O wins draw pruned: never looked at

Top: the position now. Middle: every move. Dots: every reply to that move. Tap any of them to zoom in.