http://pastebin.com/m5cf1b998 I just need the O to act as a computer. Meaning when X make a move, O will make a move randomly on possible moves acting as if O was a computer.