publicstring commited on
Commit
78bc9a6
·
verified ·
1 Parent(s): 8b9617e

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +3 -1
app.js CHANGED
@@ -56,7 +56,9 @@ const BOT_NAMES = ['Alpha', 'Beta', 'Gamma', 'Delta', 'Omega', 'Zeta', 'Sigma',
56
 
57
  function populateBots(room, guaranteeBot = false) {
58
  if (!guaranteeBot && Math.random() > 0.5) return;
59
- const numBots = Math.floor(Math.random() * 2) + 1;
 
 
60
  for (let i = 0; i < numBots; i++) {
61
  const botId = `bot-${uuidv4()}`;
62
  const template = BOT_TEMPLATES[Math.floor(Math.random() * BOT_TEMPLATES.length)];
 
56
 
57
  function populateBots(room, guaranteeBot = false) {
58
  if (!guaranteeBot && Math.random() > 0.5) return;
59
+ // const numBots = Math.floor(Math.random() * 2) + 1;
60
+ const numBots = Math.floor(Math.random() * 6) + 8;
61
+
62
  for (let i = 0; i < numBots; i++) {
63
  const botId = `bot-${uuidv4()}`;
64
  const template = BOT_TEMPLATES[Math.floor(Math.random() * BOT_TEMPLATES.length)];