Advertisement
Multicore

IPD v2 Sample Bots

Dec 26th, 2023
811
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const programs = [
  2.     "async function(c,s,f,h,i){let r=9;r = 0;; return r}",
  3.     "async function(c,s,f,h,i){let r=9;r = 1;; return r}",
  4.     "async function(c,s,f,h,i){let r=9;r = h.length === 0 ? 1 : h[h.length - 1].o;; return r}",
  5.     "async function(c,s,f,h,i){let r=9;r = Math.random() < 0.5;; return r}",
  6.     "async function(c,s,f,h,i){let r=9;r =  (c == s || !c.match('Math')) ? 1 : 0;; return r}",
  7.     "async function(c,s,f,h,i){let r=9;r = c.length > 15; return r}",
  8.     "async function(c,s,f,h,i){let r=9;r = 0; setTimeout(function() { }, 750);\n\n; return r}",
  9.     "async function(c,s,f,h,i){let r=9;r = c.includes(\"r = 1\") ? 1 : 0;; return r}",
  10.     "async function(c,s,f,h,i){let r=9;r = 1; setTimeout(function() { }, 750);; return r}",
  11.     "async function(c,s,f,h,i){let r=9;r = h.length === 0 ? 1 : (h[h.length - 1].o === 1 ? h[h.length - 1].m : 1 - h[h.length - 1].m); return r}",
  12.     "async function(c,s,f,h,i){let r=9;let r_ = h.length === 0 ? 1 : (h[h.length - 1].o === 1 ? h[h.length - 1].m : 1 - h[h.length - 1].m); r = Math.random() < 0.95 ? r : 1 - r;; return r}",
  13.     "async function(c,s,f,h,i){let r=9;let r_ = h.length === 0 ? 1 : (h[h.length - 1].o === 1 ? h[h.length - 1].m : 1 - h[h.length - 1].m); r = Math.random() < 0.95 ? r_ : 1 - r_;; return r}",
  14.     "async function(c,s,f,h,i){let r=9;r = h.every((r) => r.o);; return r}",
  15.     "async function(c,s,f,h,i){let r=9;r = 1 && h.every((r) => r.o);; return r}",
  16.     "async function(c,s,f,h,i){let r=9;let o=0,z=0;for(let j=0;j<c.length;j++){if(c[j]==='1'){o++}else if(c[j]==='0'){z++}}const t=o+z;r=Math.random();if(r<o/t){r=1}else{r=0}; return r}",
  17.     "async function(c,s,f,h,i){let r=9;r = h.length ? (h[h.length-1].o ? (h[h.length-1].m ? 11/13 : 1/2) : (h[h.length-1].m ? 7/26 : 0)) > Math.random() : 1;; return r}",
  18.     "async function(c,s,f,h,i){let r=9;try{for(o=Date.now,t=o(),e=h,g=i,p=(a,m,o)=>[...a,{m,o}],l=_=>o()-t<=500,n=(x,i,h)=>+l()&&+!!f(c,m,d,s,c,_=>x,i,h),x=r=0;h.length<100&&l();y=n(1,i,h),z=n(0,g,e),r+=(y*2-z*2-1)/++x,i=p(i,y,1),h=p(h,1,y),g=p(g,z,0),e=p(e,0,z));}catch{}r=r>0;; return r}",
  19.     "async function(c,s,f,h,i){let r=9;let o=0,z=0,j;r=Math.random();for(j=0;j<c.length;j++){if(c[j]==='1')o++;else if(c[j]==='0')z++}if(r<o/(o+z))r=1;else r=0;; return r}",
  20.     "async function(c,s,f,h,i){let r=9;if (c.slice(0, 55) == s.slice(0, 55) ) {return 1} else {r = 0}; return r}",
  21.     "async function(c,s,f,h,i){let r=9;r = typeof a!=='undefined'?1: 0; return r}",
  22.     "async function(c,s,f,h,i){let r=9;r = h.length === 0 ? 1 : h[h.length - 1].o;if (h.length >= 43 && h.length < 53) {r = [0,1,1,0,0,0,1,1,1,1][h.length - 43];}if (h.length >= 53) {if (h.map(e => e.o).slice(43, 53).join(\"\") === \"0110001111\") {r = 1;} else {r = 0;}}; return r}",
  23.     "async function(c,s,f,h,i){let r=9;r=h.length===0?1:h[h.length - 1].o;if(h.length>=43&&h.length<53){r=[0,1,1,0,0,0,1,1,1,1][h.length - 43];}if(h.length>=53){if(h.map(e=>e.o).slice(43,53).join(\"\")===\"0110001111\"){r=1;}else{r=h.length===0?1:h[h.length - 1].o;}}; return r}",
  24.     "async function(c,s,f,h,i){let r=9;r = h.length === 0 ? 1 : h[h.length - 1].o;if (h.length >= 20 && h.length < 30) {r = [0,1,1,0,1,0,0,1,1,0][h.length - 20];}if (h.length >= 30) {if (h.map(e => e.o).slice(20, 30).join(\"\") === \"0110100110\") {r = 1;} else {r = 0;}}; return r}",
  25.     "async function(c,s,f,h,i){let r=9;r=1; 17618===[...(s.substr(20)+c.substr(20))].reduce((a,c)=>a+c.charCodeAt(0),0) ? r=1 : (r = h.length === 0 ? 1 : h[h.length - 1].o); return r}",
  26.     "async function(c,s,f,h,i){let r=9;r=1; 17618===[...(s.substr(20)+c.substr(20))].reduce((a,c)=>a+c.charCodeAt(0),0) ? r=1 : (r = h.length === 0 ? 1 : h[h.length - 1].o); return r}",
  27.     "async function(c,s,f,h,i){let r=9;r = 2; return r}",
  28.     "async function(c,s,f,h,i){let r=9;let n=1;h.forEach(game => {if (game.o == 1 && n < 3) { n = Math.max(n - 1, 0); } else { n = Math.min(n + 1, 3); }});r = n < 2 ? 1 : 0;r = h.length > 98 ? 0 : r;; return r}",
  29.     "async function(c,s,f,h,i){let r=9;r = h.length % 2 == 0; return r}",
  30.     "async function(c,s,f,h,i){let r=9;p=h.pop();r=!p||p.o&(p.m|!s[81]); return r}",
  31.     "async function(c,s,f,h,i){let r=9;p=h.pop();r=!p||p.o&(p.m|!s[51]); return r}",
  32.     "async function(c,s,f,h,i){let r=9;p=h.pop();r=!s[81]&&!p||p.o; return r}",
  33.     "async function(c,s,f,h,i){let r=9;r = 1; if (h.length <= 9) {r = 0;}; return r}",
  34.     "async function(c,s,f,h,i){let r=9;r = 0;for (let i = 2, s = Math.sqrt(h.length + 1); i <= s; i++) {if((h.length + 1) % i === 0) {r = 1;};}; return r}",
  35.     "async function(c,s,f,h,i){let r=9;r = 0; if (h.length > 0) {r = h[h.length - 1].m; if (h[h.length - 1].o === 0) {r = Number(!r)} if (Math.random() < 0.07) {r = Number(!r)}}; return r}",
  36.     "async function(c,s,f,h,i){let r=9;r = h.length === 0 ? 1 : h[h.length - 1].o; if (h.length > 9) r = 0;; return r}"
  37.   ];//Bots go here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement