adjust gomoku layout