Research portable Memory game | Исследовать портируемую игру Память
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

32 行
829B

  1. from memory_test import *
  2. from shell import *
  3. from shell_test import *
  4. import sys
  5. print(memory_test_generateConstPlayfield())
  6. print(memory_test_selectItem_1x())
  7. print(memory_test_selectItem_2x())
  8. print(memory_test_selectItem_3x())
  9. print(memory_test_shouldDeselectMismatchedItems())
  10. print(memory_test_shouldDeselectMismatchedItems_itemTwice())
  11. print(memory_test_shouldDetectVictory())
  12. print(memory_test_shouldHideMatchingItems())
  13. print(shell_test_exit_e())
  14. print(shell_test_exit_exit())
  15. print(shell_test_exit_q())
  16. print(shell_test_exit_quit())
  17. c = shell_createContext()
  18. c = shell_start(c)
  19. if c.recentField == "output":
  20. print(c.output)
  21. for line in sys.stdin:
  22. c.input = line.rstrip()
  23. c = shell_processInput(c)
  24. if c.recentField == "output":
  25. print(c.output)
  26. elif c.recentField == "exit":
  27. break