Ruby on Rails - Web App - Unbeatable Tic Tac Toe