thx for the links
hello, I canāt change botsā¦
- {id: 412, message: āCould not get leaderboard in time: giving upā¦ā}
Hello, is it possible to try the wood league 2 bot without a time limit? I want to see how good my algo performs with a better depth.
Also, what is the depth of wood league 2 bot?
It is not possible to change the multi time limit. You can try to run it locally with tools like psyleague. The code for the Wood 2 bot is not public. I donāt even know what algorithm it uses.
game player is broken. Paste this to Tampermonkey to fix:
// ==UserScript==
// @name CodinGame Connect 4 ā restore board and chips
// @namespace local.codex.connect4
// @version 1.0.0
// @description Replace inaccessible Connect 4 CDN images with the author's original images.
// @match https://static.codingame.com/*.html
// @run-at document-start
// @grant none
// @sandbox raw
// @inject-into page
// ==/UserScript==
(() => {
'use strict';
const brokenBase = 'https://cdn-games.codingame.com/community/1360513-1608469222400/';
const workingBase = 'https://raw.githubusercontent.com/AshKcg/cg-multi-connect4/e6c62901fc7b02869c2707c2c19f2b6e41a68fc7/src/main/resources/view/assets/';
const files = {
'chip_91_in_105.png': '61724787f961a0b7f4b62b2a3247236106122239f528362eb6a56bad9c61d932.png',
'board_tile_106_in_120.png': 'c2126845ef1fc1b16e49c50eca862cf3cb567429ecedfaccb607b603c52bb7fa.png',
'logo.png': 'e248010031c9465dd952090989b39f2b831098463751c4259679afa57679cb0b.png',
'down_arrow_105.png': '713573fcec77c7badc351d1d91729d1eab5fac02da2f7e51667f9d3d0887c328.png',
'board_tile_91_in_105.png': '69ca3a7302a9b45bd509d77e348cd34f5b0a10244d5c8b9c9378b9d5c4e8f2cc.png',
'chip_106_in_120.png': '49abf4c78d86a4f2fc8598c9df228a5c437de05e79c427532d440c360aef4152.png',
'Background.jpg': 'c54eabf9d0b0999f1d8c7b5f79a505fb5a7a7b8010a080bdcb6952de14570712.jpg',
'down_arrow_120.png': '505253529ec33e9a8cd4897c711d2bdef6b0084e61a0689c701d2b1c4a8b9747.png',
};
window.addEventListener('message', event => {
if (event.source !== window.parent) return;
const data = event.data;
if (!data || data.type !== 'viewer' || typeof data.viewer !== 'string') return;
if (!data.viewer.includes(brokenBase)) return;
// Only modify this specific published Connect 4 asset manifest.
// Refuse partial replacements if the site's manifest has changed.
const entries = Object.entries(files);
if (!entries.every(([name, hash]) => data.viewer.includes(JSON.stringify(name) + ':' + JSON.stringify(hash)))) {
console.warn('[Connect 4 fix] Asset manifest changed; leaving viewer untouched.');
return;
}
let viewer = data.viewer.replace(brokenBase, workingBase);
for (const [name, hash] of entries) {
viewer = viewer.replace(JSON.stringify(name) + ':' + JSON.stringify(hash), JSON.stringify(name) + ':' + JSON.stringify(name));
}
data.viewer = viewer;
console.info('[Connect 4 fix] Restored image URLs.');
}, true);
})();