GigaSpaces interview question

Implement TIC tac toe in java using some of their functions (Java)