Okay, so if you're getting frustrated and just can't seem to win, here's a scripter that simulates the board game. Make sure it's set to 10x10. Next, start placing the pieces in relation to how the robot opponent in Machinarium plays. The "Xs/Tall Bolts" are him. You are the "Os/Short Nuts". It's a guaranteed win every time.
http://www.javascripter.net/games/xo/xo.htm