3. Property
Now you can see the score.
The players must get seven points to win.
In
Score.ss.xml, there is a stasc property tag:
<ss:property name="Numbers" target="textContent" order="0"/>
This does almost the same as stasc attribute but stasc property referes property of dom object instead of XML attribute.
When order is specified, for example, "0" means the first parameter of the factory method.
It is also the same as stasc attribute, although it was not used so far.
So the scoring is done like:
Score(got + " - " + lost);