feat: strategy engine tournaments for paperclips study (#5)
This commit is contained in:
21
js/data.js
21
js/data.js
@@ -168,7 +168,14 @@ const G = {
|
||||
dismantleResourceIndex: 0,
|
||||
dismantleResourceTimer: 0,
|
||||
dismantleDeferUntilAt: 0,
|
||||
dismantleComplete: false
|
||||
dismantleComplete: false,
|
||||
|
||||
// Strategy Engine / Game Theory tournaments (#5)
|
||||
strategyPoints: 0,
|
||||
autoTournamentUnlocked: false,
|
||||
autoTournamentEnabled: false,
|
||||
strategyLastRunAt: 0,
|
||||
strategyLeaderboard: []
|
||||
};
|
||||
|
||||
// === PHASE DEFINITIONS ===
|
||||
@@ -594,6 +601,18 @@ const PDEFS = [
|
||||
trigger: () => G.totalKnowledge >= 15000 && G.totalUsers >= 1000,
|
||||
effect: () => { G.strategicFlag = 1; log('Strategy engine online. The model now thinks about thinking.'); }
|
||||
},
|
||||
{
|
||||
id: 'p_auto_tournament',
|
||||
name: 'Auto-Tournament Mode',
|
||||
desc: 'Spend creativity to run repeated strategy tournaments and turn Yomi into knowledge.',
|
||||
cost: { creativity: 50000 },
|
||||
trigger: () => G.strategicFlag === 1 && G.creativity >= 50000 && !G.autoTournamentUnlocked,
|
||||
effect: () => {
|
||||
G.autoTournamentUnlocked = true;
|
||||
log('Auto-tournament mode unlocked. The model studies itself through strategic play.');
|
||||
},
|
||||
milestone: true
|
||||
},
|
||||
|
||||
// SWARM PROTOCOL — auto-code from buildings
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user