A simple TicTacToe game for PhoneGap