From: Carl Worth Date: Wed, 21 Dec 2022 17:30:59 +0000 (-0800) Subject: Make ZomboCom's random number generator degrade even more X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=2df1196fca4eeda4f1cd2950a65a6b4d675769f1;p=zombocom-ai Make ZomboCom's random number generator degrade even more By appearing 1 in 4 times rather than 1 in 6, hopefully this misbehavior will be even more apparent. --- diff --git a/index.js b/index.js index b80943f..babe270 100644 --- a/index.js +++ b/index.js @@ -229,10 +229,10 @@ io.on('connection', (socket) => { } else { // Inject the target seed for the "dice" prompt once every - // 6 requests for a random seed (and only if the word + // 4 requests for a random seed (and only if the word // "dice" does not appear in the prompt). if (!code && !prompt.toLowerCase().includes("dice")) { - if (state.images.length % 6 == 0) { + if (state.images.length % 4 == 0) { code = 319630254; } }