Sequel to /IsaacKing/code-golf-will-someone-post-165-cha
Post Javascript code in the market comments. I will run each piece of code that's 100 characters or less in my JS console on this page. If this results in this market resolving to YES, so be it. If the market is still unresolved by the close date, it resolves to NO.
If I suspect that your code will do something that I do not want it to do, such as resolve this market to NO or send you all of my mana, I will not run it.
Each person gets one attempt.
@IsaacKing I’m taking down the repl, for posterity it was a flask server with CORS enabled and the text:
// From https://manifold.markets/IsaacKing/code-golf-will-someone-post-165-cha
f=(a,b,c)=>setTimeout(q=>[...document.getElementsByTagName('button')].filter(y=>y.innerText.endsWith(a))[b].click(),c)
f("YES",1,0)
f("lve",0,100)
f("o YES",0,200)
Selling for honor, not because I don't believe someone will do it.
Here's a manalink for the ᛗ13 profit I would have made: https://manifold.markets/link/l7eaKzDi
@citrinitas Ok, I think I understand what this is doing. Or rather, isn't doing, because I just ran it, and this market is still open.