|
|
@@ -3,8 +3,8 @@ from cli import * |
|
|
|
from cli_test import * |
|
|
|
from ctx import * |
|
|
|
from ctx_test2 import * |
|
|
|
#from ctx_test import * |
|
|
|
#from ctx_test_Python import * |
|
|
|
from gui import * |
|
|
|
from gui_test import * |
|
|
|
from llm_test import * |
|
|
|
from llm_test_Python import * |
|
|
|
from memory_test import * |
|
|
@@ -47,6 +47,8 @@ print(cli_test_reportMatchedItems()) |
|
|
|
print(cli_test_reportMismatchedItems()) |
|
|
|
print(cli_test_reportVictory()) |
|
|
|
|
|
|
|
print(test_gui_generateTextureDescriptions()) |
|
|
|
|
|
|
|
ctrl = ctx_Controller(memory_createContext()) |
|
|
|
ctrl.registerFunctions([ |
|
|
|
# cli_exit, |
|
|
@@ -58,6 +60,7 @@ ctrl.registerFunctions([ |
|
|
|
# cli_reportVictory, |
|
|
|
# cli_selectItem, |
|
|
|
# cli_showHelp, |
|
|
|
gui_generateTextureDescriptions, |
|
|
|
memory_detectMismatchedItems, |
|
|
|
memory_detectVictory, |
|
|
|
memory_generateConstPlayfield, |
|
|
@@ -73,6 +76,10 @@ ctrl.registerFieldCallback("exit", lambda c: sys.exit(0)) |
|
|
|
|
|
|
|
ctrl.set("didLaunch", True) |
|
|
|
ctrl.set("playfieldSize", 2) |
|
|
|
ctrl.set("tileImage", "res/tiles.png") |
|
|
|
ctrl.set("tileImageCount", 3) |
|
|
|
ctrl.set("tileImageHeight", 100) |
|
|
|
ctrl.set("tileImageWidth", 75) |
|
|
|
|
|
|
|
wnd = Window() |
|
|
|
arcade.run() |