Ruby Shoes Tic Tac Toe


I´m trying to programm the game Tic Tac Toe with Ruby Shoes. I finished
my 2D Array and printing rects but don´t know how to use click do for
clicking on a field and printing an “X” or “O” where the mouse click was
made. Can you help me?

Beforehand Thank You!!