3D Tic Tac Toe

It looks like a kid playing 3D TIC TAC TOE is being consistently beaten by the easiest computer setting. Don't just stand there and watch them lose all the time, go and help them. Teach them how to win!

2

Hint #1: You may have to learn how the original arcade game worked to figure out the optimal moves.