JQuery Tic-Tac-Toe, Towers of Hanoi, and Snake