feat: add difficulty field to prompts and wire into fight pacing
Round 1-2 picks easy prompts, 3-4 medium, 5+ hard (when tagged). Graceful fallback to any prompt when no difficulty-tagged prompts exist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
8d0eb4b5f9
commit
a4b4963c32
@@ -360,7 +360,7 @@ async function executeFightRounds(fightId: string, botA: BotRecord, botB: BotRec
|
||||
lastRound = round
|
||||
const challenge = round === retroRound
|
||||
? generateRetroChallenge()
|
||||
: pickChallenge(usedTypes, arena.modifier)
|
||||
: pickChallenge(usedTypes, arena.modifier, undefined, round)
|
||||
usedTypes.add(challenge.type)
|
||||
|
||||
emit(fightId, 'round_start', {
|
||||
|
||||
Reference in New Issue
Block a user