MCPcopy
hub / github.com/liyupi/yulegeyu / doStart

Function doStart

src/core/game.ts:357–365  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 1

initGameFunction · 0.85

Tested by

no test coverage detected