Tic Tac Toe - cheating Computer

Introduction to Ruby and Web Development - Lesson 1 #18
(Computer sometimes cheats and goes twice)