Files
sudoku/src/constants/config.ts

42 lines
709 B
TypeScript
Raw Normal View History

2025-05-09 19:10:40 +08:00
2025-05-20 17:41:43 +08:00
2025-05-09 19:10:40 +08:00
export const config = {
2025-05-15 21:36:03 +08:00
BREAK_POINT: 1, // 竖版和横版的分界宽度
2025-05-20 17:41:43 +08:00
DEBUG: false,
2025-05-13 20:31:44 +08:00
OPEN_GUIDE: true,
2025-05-15 21:36:03 +08:00
MISTAKE_MAX: 3,//最大错误数
2025-05-13 20:31:44 +08:00
2025-05-19 19:51:17 +08:00
STAGE_TYPE: {//关卡类型
MAIN: 1,//主线
DC: 2,//每日挑战
},
DEFAULT_STAGE_ID: "main",//主线关卡标识
2025-05-13 20:31:44 +08:00
DIFFICULTY_TYPE: {//难度
2025-05-19 19:51:17 +08:00
Easy: "Easy",
Medium: "Medium",
Hard: "Hard",
Expert: "Expert",
Extreme: "Extreme",
2025-05-13 20:31:44 +08:00
},
2025-05-20 17:41:43 +08:00
DIFFICULTY_LIST: ["Easy", "Medium", "Hard", "Expert", "Extreme"],
2025-05-13 20:31:44 +08:00
2025-05-15 21:36:03 +08:00
BLOCK_COLOR: {
WHITE: "#ffffff",
GREY: "#f0f2f7",
RED: "#ef3e67",
BLUE: "#2559c0",
2025-05-16 21:10:37 +08:00
},
2025-05-20 17:41:43 +08:00
MONTH_ABBRS: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
2025-05-17 16:36:42 +08:00
2025-05-16 21:10:37 +08:00
2025-05-09 19:10:40 +08:00
}