()
| 355 | * 开始游戏 |
| 356 | */ |
| 357 | const doStart = () => { |
| 358 | gameStatus.value = 0; |
| 359 | const { levelBlocks, randomBlocks, slotArea } = initGame(); |
| 360 | console.log(levelBlocks, randomBlocks, slotArea); |
| 361 | levelBlocksVal.value = levelBlocks; |
| 362 | randomBlocksVal.value = randomBlocks; |
| 363 | slotAreaVal.value = slotArea; |
| 364 | gameStatus.value = 1; |
| 365 | }; |
| 366 | |
| 367 | return { |
| 368 | gameStatus, |
nothing calls this directly
no test coverage detected