|
@@ -1,4 +1,6 @@ |
|
|
from memory_test import * |
|
|
from memory_test import * |
|
|
|
|
|
from memoryCLI import * |
|
|
|
|
|
import sys |
|
|
|
|
|
|
|
|
print(memory_test_generateConstPlayfield()) |
|
|
print(memory_test_generateConstPlayfield()) |
|
|
print(memory_test_selectItem_1x()) |
|
|
print(memory_test_selectItem_1x()) |
|
@@ -8,3 +10,11 @@ print(memory_test_shouldDeselectMismatchedItems()) |
|
|
print(memory_test_shouldDeselectMismatchedItems_itemTwice()) |
|
|
print(memory_test_shouldDeselectMismatchedItems_itemTwice()) |
|
|
print(memory_test_shouldDetectVictory()) |
|
|
print(memory_test_shouldDetectVictory()) |
|
|
print(memory_test_shouldHideMatchingItems()) |
|
|
print(memory_test_shouldHideMatchingItems()) |
|
|
|
|
|
|
|
|
|
|
|
c = memoryCLI_createContext() |
|
|
|
|
|
c = memoryCLI_greetUser(c) |
|
|
|
|
|
print(c.output) |
|
|
|
|
|
|
|
|
|
|
|
for line in sys.stdin: |
|
|
|
|
|
ln = line.rstrip() |
|
|
|
|
|
print(f"you entered: '{ln}'") |