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.

21 line
564B

  1. from memory_test import *
  2. from memoryCLI import *
  3. import sys
  4. print(memory_test_generateConstPlayfield())
  5. print(memory_test_selectItem_1x())
  6. print(memory_test_selectItem_2x())
  7. print(memory_test_selectItem_3x())
  8. print(memory_test_shouldDeselectMismatchedItems())
  9. print(memory_test_shouldDeselectMismatchedItems_itemTwice())
  10. print(memory_test_shouldDetectVictory())
  11. print(memory_test_shouldHideMatchingItems())
  12. c = memoryCLI_createContext()
  13. c = memoryCLI_greetUser(c)
  14. print(c.output)
  15. for line in sys.stdin:
  16. ln = line.rstrip()
  17. print(f"you entered: '{ln}'")