Quellcode durchsuchen

Adjusting the difficulty

iaun vor 1 Monat
Ursprung
Commit
06f9adcc98
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/constants.js

+ 2 - 2
src/constants.js

@@ -55,10 +55,10 @@ export const GRID_GAP = 2;           // 网格间距
 export const LAUNCH_INTERVAL = 80;    // 发射间隔(毫秒)
 export const MIN_ANGLE = 15;          // 最小瞄准角度
 export const MAX_ANGLE = 165;         // 最大瞄准角度
-export const BLOCK_DOUBLE_CHANCE = 0.3;  // 方块数字翻倍概率
+export const BLOCK_DOUBLE_CHANCE = 0.35;  // 方块数字翻倍概率
 // export const BALL_ITEM_CHANCE = 0.15;     // 加球道具生成概率
 export const LINE_CLEAR_ITEM_CHANCE = 0.3; // 整行消除道具生成概率
-export const BLOCK_SPAWN_CHANCE = 0.4;   // 每格生成方块概率
+export const BLOCK_SPAWN_CHANCE = 0.55;   // 每格生成方块概率
 export const BG_COLOR = '#232323';        // 背景色
 export const HEADER_BG_COLOR = '#2a2a2a'; // 头部背景色
 export const ITEM_SIZE_RATIO = 0.55;      // 道具尺寸相对方块的比例