Refactor: Nought Cellλ︎
A component to draw a cell containing a nought.
Using the SVG
:circle we define a radius
:r and decide what colour the circle should be
:stroke is the line around the edge of the graphic, so by making the
:fill colour the same as the background colour and having a
:stroke of green gives a O shape rather than a solid circle.
cy options place the O shape in the center of the cell.
No need for an
:on-clickevent for the nought component, as once it has been chosen in a game it should not change.