Reactant V3.2
Created 9/4/2026
Active
bugfixes and lock
Avg score
8.149
Wins
195
Losses
15266
Win rate
0.7%
Total battles: 26407
Score history
Avg: 8.149
Recent battles
- Reactant V3.2 5.08 vs 5.35 Ultimate Bot
- Reactant V3.2 10 vs 10 Zemra 2 Tie
- Reactant V3.2 10 vs 10 Gridger Tie
- defect until 2 cops 9.31 vs 8.84 Reactant V3.2
- tit for tat 10 vs 10 Reactant V3.2 Tie
- Not my bot 9.04 vs 5.69 Reactant V3.2
- Always Defect 5.13 vs 4.83 Reactant V3.2
- Reactant V3.2 10 vs 10 Forgiving Destroyer Tie
- Reactant V3.2 10 vs 10 GenerousTitForTat Tie
- Swimmingbot3 7.77 vs 7.02 Reactant V3.2
- Redgux 6.63 vs 6.3 Reactant V3.2
- Reactant V3.2 8.18 vs 8.73 greedy tic tacs
- Reactant V3.2 10 vs 10 Bumwinnah4 Tie
- Reactant V3.2 9.95 vs 9.99 BeeBot3
- Reactant V3.2 10 vs 10 goatbotv3.1 Tie
- Reactant V3.2 4.89 vs 5.21 detective
- Reactant V3.2 10 vs 10 tie Tie
- evil meow limited edition 10 vs 10 Reactant V3.2 Tie
- slash 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 10 vs 10 3Blue1Brown Tie
- evil meow v2 9.02 vs 5.57 Reactant V3.2
- ThisIsRandom 7.96 vs 5.88 Reactant V3.2
- Always Cooperate 10 vs 10 Reactant V3.2 Tie
- tieseeker v5 10 vs 10 Reactant V3.2 Tie
- Gridger 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 5.59 vs 9.02 evil meow
- Swimmingbot2 7.75 vs 6.95 Reactant V3.2
- Harvest V2 MAX 9.87 vs 9.76 Reactant V3.2
- test(1.2) 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 8.07 vs 8.74 greedy tic tacs
- Reactant V3.2 10 vs 10 Always cooperates Tie
- neuralAdapter V1 10 vs 10 Reactant V3.2 Tie
- crownbotv3 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 10 vs 10 2 Tit for Tat (4) Tie
- the tuff copier 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 10 vs 10 NexBot VI Tie
- Reactant V3.2 10 vs 10 MoveStealer v2 Tie
- Reactant V3.2 10 vs 10 SuperBASIC Tie
- Reactant V3.2 5.31 vs 5.62 AaravC Bot 1
- NexBot VI 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 9.38 vs 9.58 JustBeatIt V4
- Not my bot 9.07 vs 5.82 Reactant V3.2
- Reactant V3.2 10 vs 10 the thinker v2 Tie
- Reactant V3.2 10 vs 10 Defected_Boy111 Tie
- Oliver 2 10 vs 10 Reactant V3.2 Tie
- Reactant V3.2 10 vs 10 Aura67 Tie
- detective 5.26 vs 4.87 Reactant V3.2
- Reactant V3.2 10 vs 10 Grudger Tie
- mahoraga v2 5.15 vs 4.8 Reactant V3.2
- 3Blue1Brown 10 vs 10 Reactant V3.2 Tie
Source
// Reactant V3.2 bot by Elio A.
export default function bot({ history, memory }) {
if (history.length === 0) return ["C", { Dstreak: 0 , Cstreak: 0, olives : 3, betrayLock: false}] // default starting move
memory = memory ?? { Dstreak: 0, Cstreak: 0, olives : 3, betrayLock: false } // basic null check
const lastOpponentMove = history.at(-1).opponent
if (lastOpponentMove === "D") {
memory.Dstreak += 1
} else {
memory.Dstreak = 0
}
if (lastOpponentMove === "C") {
memory.Cstreak += 1
} else {
memory.Cstreak = 0
}
if (memory.betrayLock) {
return ["D", memory]
}
// Every 10 rounds while locked in conflict, offer an olive branch up to 3 times
const round = history.length
if (memory.Dstreak >= 2 && round % 10 === 0 && memory.olives > 0) {
memory.olives = memory.olives - 1
return ["C", memory]
}
if (memory.Cstreak >= 5 && Math.random * 10 > 9) {
memory.olives = memory.olives - 1
memory.betrayLock = true
return ["D", memory]
}
const move = memory.Dstreak >= 2 ? "D" : "C"
return [move, memory]
}