Wrote gloss-based front-end for noughts and crosses