Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1004720 // Full Solve Strategy ("The Cheat"!)

Lua code

function strategy(text)
  return "text = "..luaQuote(text).."\n"
    .."function p(m, s) return text end"
end

function luaQuote(s)
  return ("%q"):format(s)
end

Author comment

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: 602 / 858
Referenced in: [show references]