Jellyvision Lab interview question

How to manipulate strings and write some code to play tic tac toe.