primitive frontend for XO game