This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
botData = [ | |
{ | |
"name": "Jack", | |
"func": function (myself, grid, bots, gameInfo) { | |
var col = myself[0]; | |
var myX = myself[1]; | |
var myY = myself[2]; | |
var notPreferred = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Controller for Gold Collector KoTH by RedwolfPrograms, tested and (mostly) functional | |
// | |
//Use botSetup() to prepare, and runBots() to run one move. | |
/* Unused colors: | |
#00d6e6 | |
#ace2e6 | |
#003340 | |
#0077b3 | |
#80d5ff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess, os, math | |
import matplotlib.pyplot as plt | |
def calcLog(x): | |
if x <= 0: | |
return 0 | |
else: | |
return math.log(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0018 7649 4441 5478 9ced dd7b ......vIDATx...{ | |
00000040: 7495 d599 c7f1 ef49 0eb9 430c 2101 8440 t......I..C.!..@ | |
00000050: 1212 4020 010c 12c3 a550 f112 d40a b22c ..@ .....P....., | |
00000060: 6065 54e4 2682 a308 d6b1 c38c dad1 625b `eT.&.........b[ | |
00000070: 1444 2d28 d2ea 524a 6521 0e78 2bd0 7a2d .D-(..RJe!.x+.z- | |
00000080: 158a 546e 2245 4044 907b 8890 7b72 4ee6 ..Tn"E@D.{..{rN. | |
00000090: 8f43 1c45 0321 d9fb ddef 7ecf f359 2b0b .C.E.!....~..Y+. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0000 0774 494d 4507 da0c 0d12 .......tIME..... | |
00000040: 2129 9964 5aa4 0000 1312 4944 4154 789c !).dZ.....IDATx. | |
00000050: eddd 7974 56d5 bdc6 f1ef 4908 2103 4948 ..ytV.....I.!.IH | |
00000060: 9805 4c48 ab08 24d0 0a32 83e2 5551 54da ..LH..$..2..UQT. | |
00000070: 5489 8cb6 5571 a105 d1da 5abd edbd 77dd T...Uq....Z...w. | |
00000080: 75ab a8d4 b94b 29da 3a53 2a52 19ea aab5 u....K).:S*R.... | |
00000090: 5a7b 05ab b758 45ac ad82 8203 0e45 1933 Z{...XE......E.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0000 0774 494d 4507 da0c 0d12 .......tIME..... | |
00000040: 211c cfd7 9e87 0000 1b3d 4944 4154 789c !........=IDATx. | |
00000050: eddd 7970 5455 be07 f06f 2f49 ba43 2721 ..ypTU...o/I.C'! | |
00000060: e9ce be27 4dd8 b290 0524 0114 1819 c2a6 ...'M....$...... | |
00000070: ce62 18d1 122d 4023 b8c3 73de 4374 2885 .b...-@#..s.Ct(. | |
00000080: aa57 2388 a328 8823 e313 0774 0065 5059 .W#..(.#...t.ePY | |
00000090: 8691 c185 4058 0286 1d02 26d0 2109 9084 ....@X....&.!... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0000 0774 494d 4507 d90b 0800 .......tIME..... | |
00000040: 1310 37d9 af4f 0000 1445 4944 4154 789c ..7..O...EIDATx. | |
00000050: eddd 7b50 54e7 fd06 f067 2f2c 2c2c a082 ..{PT....g/,,,.. | |
00000060: a280 9145 8322 2018 f182 d698 4c6b 8b8a ...E." .....Lk.. | |
00000070: 6d66 9ac1 5153 63bc 5f9a cc18 3366 a663 mf..QSc._...3f.c | |
00000080: 4d9c 6867 1a15 1d63 c59a 184d 6b2e da49 M.hg...c...Mk..I | |
00000090: eaa0 5552 4dc7 6944 a346 23a0 046f 808a ..URM.iD.F#..o.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0000 0774 494d 4507 da0c 0d12 .......tIME..... | |
00000040: 2105 abbc 3647 0000 1b40 4944 4154 789c !...6G...@IDATx. | |
00000050: eddd 7974 55d5 bd07 f0ef 1d72 939b 1b12 ..ytU......r.... | |
00000060: 9218 3232 0548 2024 cc81 3088 06ab 169e ..22.H $..0..... | |
00000070: 5654 a062 8bb2 f409 521c 96a2 cfe7 aa05 VT.b....R....... | |
00000080: 5942 6bab 2262 05c7 1a57 c521 d696 07f8 YBk."b...W.!.... | |
00000090: 0c32 3e25 0483 0999 08e1 669e 6ee6 79b8 .2>%......f.n.y. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0000 0774 494d 4507 da0c 0d12 .......tIME..... | |
00000040: 2034 e379 073c 0000 13ba 4944 4154 789c 4.y.<....IDATx. | |
00000050: eddd 7990 95d5 9dc6 f1ef ed8d 3536 7bc0 ..y.........56{. | |
00000060: 0003 1281 11c8 184d 4491 191d 9c18 2289 .......MD.....". | |
00000070: 09b8 5512 2506 c120 49dc 32f3 4732 1326 ..U.%.. I.2.G2.& | |
00000080: 64a9 994a a143 d080 3d18 1497 5820 ab12 d..J.C..=...X .. | |
00000090: d056 4447 bb65 55a4 d91b 9ba6 65b5 17a0 .VDG.eU.....e... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR | |
00000010: 0000 00f0 0000 00f0 0806 0000 003e 55e9 .............>U. | |
00000020: 9200 0000 0662 4b47 4400 ff00 ff00 ffa0 .....bKGD....... | |
00000030: bda7 9300 0018 d349 4441 5478 9ced dd7b .......IDATx...{ | |
00000040: 7455 e599 c7f1 ef39 2717 0924 8470 171a tU.....9'..$.p.. | |
00000050: 918b 56e5 22a2 a280 30b2 a6c5 2a17 a9e2 ..V."...0...*... | |
00000060: 1210 b14b 9c35 8ea2 8896 a652 a8e0 7268 ...K.5.....R..rh | |
00000070: 11e8 021d 2f85 55db c1cc 1034 5681 0a02 ..../.U....4V... | |
00000080: 5211 02e1 9690 0412 08e4 aa60 b824 c201 R..........`.$.. | |
00000090: 1243 72ce 9e3f 0e30 8004 72d9 7bbf fbdd .Cr..?.0..r.{... |
NewerOlder