function strategy(text)
return "text = "..luaQuote(text).."\n"
.."function p(m, s) return text end"
end
function luaQuote(s)
return ("%q"):format(s)
endBegan life as a copy of #1004715
test run test run with input download show line numbers
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004720 |
| Snippet name: | Full Solve Strategy ("The Cheat"!) |
| Eternal ID of this version: | #1004720/1 |
| Text MD5: | 10dd8ab271a03913e8799447e1075be5 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | Lua code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-27 23:22:49 |
| Source code size: | 168 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1425 / 1015 |
| Referenced in: | [show references] |