game over

This commit is contained in:
2024-03-22 12:00:23 +01:00
parent 611c56b329
commit 10a09e3ad3

View File

@ -35,7 +35,7 @@ void gameExec(void *handle) {
// --- engine begin -------------------------------------------------------
switch (state) {
// --- game ---------------------------------------------------------------
// --- phase: game --------------------------------------------------------
case e_Start:
canvasClear();
level = 1;
@ -74,7 +74,7 @@ void gameExec(void *handle) {
}
break;
// --- game over ----------------------------------------------------------
// --- phase: game over ---------------------------------------------------
case e_GameOver:
rowIndex = CANVAS_HEIGHT;
phase = e_Phase_GameOver;