Functional Tic-Tac-Toe Layout