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: | 1392 / 1006 | 
| Referenced in: | #1004728 - Text Learn [Console / Keep Alive] - Args: sucker strat1 strat2 ... #1004734 - Debug Text Predict Algo #1004736 - Debug Text Predict Algo, Print Differences #1004743 - JavaX Full Solve Strategy ("The Cheat"!) #1004871 - Process "Brainstorm" [Sim Predict, dev.] |