How to never lose at tic-tac-toe
Take the centre if it is free; otherwise take a corner. Always block a line of two. As X, a corner opening sets the most traps: if O answers anywhere but the centre, X can force a win. The “Impossible” level plays perfectly with a minimax search — you can draw with it, but never beat it.