Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class MemoryContext:
- def __init__(self):
- self.playfieldItems = {}
- self.playfieldSize = 0
- self.recentField = None
- self.selectedId = None
- self.selectedItems = []
-
- def __repr__(self):
- return self.__str__()
-
- def __str__(self):
- return f"MemoryContext(plyfieldI/playfieldS/recentF/selectedId/selectedI: '{self.playfieldItems}'/'{self.playfieldSize}'/'{self.recentField}'/'{self.selectedId}'/'{self.selectedItems}')"
-
- def memory_createEmptyContext():
- return MemoryContext()
|