9 lines
306 B
Lua
9 lines
306 B
Lua
-- play.lua -- load termtris, click it active, and snapshot the board.
|
|
-- play.sh checks LOADER: result status=0, the DIAG tick, and the snapshot.
|
|
local dir = (debug.getinfo(1, "S").source:gsub("^@", ""):match("^(.*)/") or ".")
|
|
local H = dofile(dir .. "/harness.lua")
|
|
|
|
H.config{ tablet = "PLAY" }
|
|
|
|
H.run()
|