RobotStudio event

Tic- tac toe

can anyone tell how can i make the robot play tic tac toe on robot studio using screen maker interface . what smart components do i need and how can i program it to choose the next position, place the selected part there and display on screen.  i just need to know how i can get it done.


Thanks,