Closed daffidwilde closed 4 years ago
As is discussed in #90, changing the Game class to a metaclass highlights that it should not be instantiated. In fact, by making it a subclass of abc.ABCMeta and decorating its methods as abc.abstractmethod stops this all together.
Game
abc.ABCMeta
abc.abstractmethod
Thanks to @igarizio for this suggestion.
As is discussed in #90, changing the
Game
class to a metaclass highlights that it should not be instantiated. In fact, by making it a subclass ofabc.ABCMeta
and decorating its methods asabc.abstractmethod
stops this all together.Thanks to @igarizio for this suggestion.