Un puissant script utilisateur Greasemonkey pour automatiser le processus de nettoyage du jeu TapMePlus1.
Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文
Le script contient les paramètres ajustables suivants (à modifier dans le code) :
// ====== Basic parameters ======
const BOARD_SIZE = 5;
const MAX_CLICKS = 5;
const BEAM_WIDTH = 10;
const SEARCH_DEPTH = 4;
const MIN_CLICK_DELAY = 50;
const BASE_CLICK_DELAY = 80;
const MAX_CACHE_SIZE = 1000;
// ====== Optimized Positional Weights Matrix ======
const POSITIONAL_WEIGHTS = [
[1, 2, 3, 2, 1],
[2, 4, 6, 4, 2],
[3, 6, 8, 6, 3],
[2, 4, 6, 4, 2],
[1, 2, 3, 2, 1]
];
// ====== Dynamic weight ======
const getScoreWeight = score => {
if (score < 1000) return { score: 100, layout: 1.0 }; // Early game, balance layout and score
if (score < 2500) return { score: 85, layout: 1.2 }; // Mid-game, focus on building potential
return { score: 110, layout: 0.8 }; // Late/sprint game, prioritize converting advantage to score
};
// ====== Phase strategy ======
const getCurrentPhase = score => {
if (score >= 2500) return { maxClicks: 1, label: '2500+ Sprint' };
if (score >= 1000) return { maxClicks: 2, label: '1000+ Mid-game' };
return { maxClicks: 2, label: 'Base Early-game' };
};
Licence GPL-3.0.