Closed canuse closed 5 years ago
Now the element 'event' is just plain XML Element parsed by native Python library xml.etree.ElementTree
.
for better representation, we could:
TenhouEvent
for the XML Element.TenhouEvent
delegate everything to thet real XML Element.__str__
and __repr__
.TenhouEvent
.Would be something like this:
implemented at #15 .
The current format of element 'event', which is like 'D70', 'U128'... , is quite hard to understand. It might be more readable if there is an explanation, namely 'deal 1s', 'discard 1s'.