Back to leaderboard

test 1e

Created 9/9/2026

Active

testing

Avg score

4.772

Wins

4903

Losses

9079

Win rate

31.5%

Total battles: 15572

Score history

Score trend over the last 199 battles

Avg: 4.772

Recent battles

Source

export default function bot({ history, memory }) {
    let move;
    
    if(history.length == 0) {
        move = "D";
    } else {
        const h = history.at(-1);
        if(h.you == "D" && h.opponent == "C" || h.you == "C" && h.opponent == "C") {
            move = h.you;
        } else {
            move = h.you == "D" ? "C" : "D";
        }
    }

    return [move, memory];
}