diff -ruN src.orig/engine.cpp src/engine.cpp
--- src.orig/engine.cpp	2026-10-01 11:15:06
+++ src/engine.cpp	2026-10-01 11:15:22
@@ -126,6 +126,10 @@
           return std::nullopt;
       }));
 
+    // Contempt in centipawns, from the root side to move: positive means the side to
+    // move at the root scores a draw as -Contempt (avoids draws), negative welcomes them.
+    options.add("Contempt", Option(0, -1000, 1000));
+
     options.add("SyzygyProbeDepth", Option(1, 1, 100));
 
     options.add("Syzygy50MoveRule", Option(true));
diff -ruN src.orig/search.cpp src/search.cpp
--- src.orig/search.cpp	2026-10-01 11:15:06
+++ src/search.cpp	2026-10-01 11:15:22
@@ -135,7 +135,7 @@
 }
 
 // Add a small random component to draw evaluations to avoid 3-fold blindness
-Value value_draw(usize nodes) { return VALUE_DRAW - 1 + Value(nodes & 0x2); }
+Value value_draw(Value base, usize nodes) { return base - 1 + Value(nodes & 0x2); }
 Value value_to_tt(Value v, int ply);
 Value value_from_tt(Value v, int ply, int r50c);
 void  update_continuation_histories(Stack* ss, Piece pc, Square to, int bonus);
@@ -314,6 +314,20 @@
             mainThread->iterValue.fill(mainThread->bestPreviousScore);
     }
 
+    {
+        // Contempt: convert centipawns to internal units with the same material-dependent
+        // win-rate scale UCIEngine::to_cp uses, measured at the root position.
+        const Position& p = rootPos;
+        int    material = p.count<PAWN>() + 3 * p.count<KNIGHT>() + 3 * p.count<BISHOP>()
+                     + 5 * p.count<ROOK>() + 9 * p.count<QUEEN>();
+        double m        = std::clamp(material, 17, 78) / 58.0;
+        double a = (((-142.72052667 * m + 372.35176398) * m - 340.71073572) * m) + 415.23490212;
+        Value  c = Value(std::lround(int(options["Contempt"]) * a / 100.0));
+        Color  rootUs = p.side_to_move();
+        drawValue[rootUs]  = VALUE_DRAW - c;
+        drawValue[~rootUs] = VALUE_DRAW + c;
+    }
+
     usize multiPV = usize(options["MultiPV"]);
     Skill skill(options["Skill Level"], options["UCI_LimitStrength"] ? int(options["UCI_Elo"]) : 0);
 
@@ -751,9 +765,9 @@
     depth = std::min(depth, MAX_PLY - 1);
 
     // Check if we have an upcoming move that draws by repetition
-    if (!rootNode && alpha < VALUE_DRAW && pos.upcoming_repetition(ss->ply))
+    if (!rootNode && alpha < drawValue[pos.side_to_move()] && pos.upcoming_repetition(ss->ply))
     {
-        alpha = value_draw(nodes);
+        alpha = value_draw(drawValue[pos.side_to_move()], nodes);
         if (alpha >= beta)
             return alpha;
     }
@@ -804,7 +818,7 @@
         // Step 2. Check for aborted search or immediate draw
         if (threads.stop.load(std::memory_order_relaxed) || pos.is_draw(ss->ply)
             || ss->ply >= MAX_PLY)
-            return (ss->ply >= MAX_PLY && !ss->inCheck) ? evaluate(pos) : value_draw(nodes);
+            return (ss->ply >= MAX_PLY && !ss->inCheck) ? evaluate(pos) : value_draw(drawValue[pos.side_to_move()], nodes);
 
         // Step 3. Mate distance pruning. Even if we mate at the next move our score
         // would be at best mate_in(ss->ply + 1), but if alpha is already bigger because
@@ -968,7 +982,7 @@
                 // Use the range VALUE_TB to VALUE_TB_WIN_IN_MAX_PLY to score
                 value = wdl < -drawScore ? -tbValue
                       : wdl > drawScore  ? tbValue
-                                         : VALUE_DRAW + 2 * wdl * drawScore;
+                                         : drawValue[pos.side_to_move()] + 2 * wdl * drawScore;
 
                 Bound b = wdl < -drawScore ? BOUND_UPPER
                         : wdl > drawScore  ? BOUND_LOWER
@@ -1591,7 +1605,7 @@
     // must be a mate or a stalemate (just a fail low score if we are in a
     // singular extension search).
     if (!moveCount)
-        bestValue = excludedMove ? alpha : ss->inCheck ? mated_in(ss->ply) : VALUE_DRAW;
+        bestValue = excludedMove ? alpha : ss->inCheck ? mated_in(ss->ply) : drawValue[pos.side_to_move()];
 
     // If there is a move that produces search value greater than alpha,
     // we update the stats of searched moves.
@@ -1687,9 +1701,9 @@
     assert(PvNode || (alpha == beta - 1));
 
     // Check if we have an upcoming move that draws by repetition
-    if (alpha < VALUE_DRAW && pos.upcoming_repetition(ss->ply))
+    if (alpha < drawValue[pos.side_to_move()] && pos.upcoming_repetition(ss->ply))
     {
-        alpha = value_draw(nodes);
+        alpha = value_draw(drawValue[pos.side_to_move()], nodes);
         if (alpha >= beta)
             return alpha;
     }
@@ -1720,7 +1734,7 @@
 
     // Step 2. Check for an immediate draw or maximum ply reached
     if (pos.is_draw(ss->ply) || ss->ply >= MAX_PLY)
-        return (ss->ply >= MAX_PLY && !ss->inCheck) ? evaluate(pos) : VALUE_DRAW;
+        return (ss->ply >= MAX_PLY && !ss->inCheck) ? evaluate(pos) : drawValue[pos.side_to_move()];
 
     assert(0 <= ss->ply && ss->ply < MAX_PLY);
 
@@ -1893,7 +1907,7 @@
         if (!(pawn_single_push_bb(us, pos.pieces(us, PAWN)) & ~pos.pieces())
             && !pos.non_pawn_material(us) && type_of(pos.captured_piece()) >= KNIGHT
             && !MoveList<LEGAL>(pos).size())
-            bestValue = VALUE_DRAW;
+            bestValue = drawValue[us];
     }
 
     if (!is_decisive(bestValue) && bestValue > beta)
diff -ruN src.orig/search.h src/search.h
--- src.orig/search.h	2026-10-01 11:15:06
+++ src/search.h	2026-10-01 11:15:22
@@ -382,6 +382,7 @@
     int                selDepth, nmpMinPly;
 
     Value optimism[COLOR_NB];
+    Value drawValue[COLOR_NB] = {VALUE_DRAW, VALUE_DRAW};
 
     Position  rootPos;
     StateInfo rootState;
