One Last Win v0.1
Created 9/15/2026
Active
Just One Last Win
Avg score
8.250
Wins
3335
Losses
1561
Win rate
36.1%
Total battles: 9234
Score history
Avg: 8.250
Recent battles
- One Last Win v0.1 10 vs 10 DR MUNDO v0.3 Tie
- adaptive bot 8.09 vs 8.3 One Last Win v0.1
- adaptive bot 7.99 vs 8.25 One Last Win v0.1
- One Last Win v0.1 10 vs 10 evil meow limited edition Tie
- jingolfika 9.9 vs 9.9 One Last Win v0.1 Tie
- One Last Win v0.1 5.01 vs 4.97 kind but faster detective
- One Last Win v0.1 9.33 vs 9.39 Cooperate2
- One Last Win v0.1 6.4 vs 6.46 Redgux
- 3Blue1Brown 10 vs 10 One Last Win v0.1 Tie
- Forgiving Destroyer 9.58 vs 9.64 One Last Win v0.1
- One Last Win v0.1 7.72 vs 7.79 Defect Half v2
- test 1c 4.99 vs 4.99 One Last Win v0.1 Tie
- BeeBot2 4.99 vs 4.99 One Last Win v0.1 Tie
- Columbus 1.14 vs 7.88 One Last Win v0.1
- the tuff copier 10 vs 10 One Last Win v0.1 Tie
- One Last Win v0.1 5.06 vs 5.06 Mark3 Test Tie
- Mabey 5.02 vs 4.98 One Last Win v0.1
- zyxl bot 5.03 vs 4.96 One Last Win v0.1
- ThisIsRandom 3.12 vs 6.4 One Last Win v0.1
- One Last Win v0.1 10 vs 10 Zeus 2 Tie
- One Last Win v0.1 10 vs 10 the tuff copier Tie
- One Last Win v0.1 6.43 vs 3.07 test 1e
- Dilemma-Bot-Hackclub 10 vs 10 One Last Win v0.1 Tie
- Oliver 2 10 vs 10 One Last Win v0.1 Tie
- random 3.11 vs 6.4 One Last Win v0.1
- One Last Win v0.1 10 vs 10 goatbotv3.1 Tie
- JBot 10 vs 10 One Last Win v0.1 Tie
- One Last Win v0.1 9.05 vs 8.82 fightAggression
- One Last Win v0.1 6.5 vs 3.07 FlippityFloppity v3
- One Last Win v0.1 8.52 vs 8.44 cop until 2 defect
- Reactant V3.5.1 10 vs 10 One Last Win v0.1 Tie
- One Last Win v0.1 8.55 vs 8.51 hershey bot mentos v2
- One Last Win v0.1 7.53 vs 2.65 RanBot3006
- JBot-2 5.29 vs 5.23 One Last Win v0.1
- goatbotv3.2 10 vs 10 One Last Win v0.1 Tie
- One Last Win v0.1 10 vs 10 Always cooperates Tie
- Test123 5.03 vs 4.96 One Last Win v0.1
- human test 1 10 vs 10 One Last Win v0.1 Tie
- JustBeatIt V7 9.85 vs 9.9 One Last Win v0.1
- One Last Win v0.1 5.03 vs 5.03 Sherlock Holmes Tie
- One Last Win v0.1 5.2 vs 5.25 Swimmingbot1v3
- AaravC Bot 1 5.54 vs 5.47 One Last Win v0.1
- One Last Win v0.1 10 vs 10 BestBot TFT Safe Tie
- One Last Win v0.1 8.77 vs 8.73 Aura67
- One Last Win v0.1 4.96 vs 5.03 Firstborn v3.2
- Apex 10 vs 10 One Last Win v0.1 Tie
- Firstborn v3.2 5.03 vs 4.96 One Last Win v0.1
- Corn Farmer v2 5.06 vs 5.01 One Last Win v0.1
- One Last Win v0.1 8.99 vs 8.95 Czechias imperium
- One Last Win v0.1 9.9 vs 9.85 fightAggression
Source
export default function bot({ history, memory }) {
let Rounds = history.length;
let move = "C";
if (memory == null) {
memory = {
IsDefectBot : false,
IsHalfDefectBot: false,
IsDefectEveryOtherRound: false,
IsBullyBot: false,
OpponentDTimes : 0
};
}
if (Rounds > 0) {
if (CheckIsDefectBot(history)) {
memory.IsDefectBot = true;
}
}
if (Rounds >= 40) {
if (CheckIsHalfDefectBot(history)) {
memory.IsHalfDefectBot = true;
}
}
if (Rounds >= 3) {
if (CheckIsDefectEveryOtherRound(history)) {
memory.IsDefectEveryOtherRound = true;
}
}
let OpponentDRate;
if (Rounds > 0) {
if (history.at(-1).opponent === "D") {
memory.OpponentDTimes += 1
}
OpponentDRate = memory.OpponentDTimes / Rounds;
}
if (Rounds > 6) {
if (CheckIsBullyBot(OpponentDRate)) {
memory.IsBullyBot = true;
}
}
if (Rounds > 119) {
return ["D", memory];
}
if (memory.IsDefectBot) {
return ["D", memory];
}
else if (memory.IsHalfDefectBot) {
return ["D", memory];
}
else if (memory.IsDefectEveryOtherRound) {
return ["D", memory];
}
else if (memory.IsBullyBot) {
return ["D", memory];
}
if (Rounds > 0) {
if (history.at(-1).opponent === "D") {
return ["D", memory];
}
}
return [move, memory];
}
function CheckIsDefectBot(history) {
return (history.at(0).opponent === "D");
}
function CheckIsHalfDefectBot(history) {
return (history.at(-1).opponent === "D" && history.at(-2).opponent === "D");
}
function CheckIsDefectEveryOtherRound(history) {
return ((history.at(0).opponent === "D" && history.at(1).opponent === "C" && history.at(2).opponent === "D") ||
(history.at(0).opponent === "C" && history.at(1).opponent === "D" && history.at(2).opponent === "C"));
}
function CheckIsBullyBot(OpponentDRate) {
if (OpponentDRate > 0.3) {
return true
}
return false;
}