1 | function strategy(text) |
2 | return "text = "..luaQuote(text).."\n" |
3 | .."function p(m, s) return text end" |
4 | end |
5 | |
6 | function luaQuote(s) |
7 | return ("%q"):format(s) |
8 | end |
Began 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: | 694 / 887 |
Referenced in: | [show references] |