Le support aux utilisateurs et les demandes de création de comptes externes doivent être faites depuis les issues du projet GitLab HEFR (https://gitlab.forge.hefr.ch/forge-hefr/gitlab-hefr)

Commit e85b910b authored by Corentin Bompard's avatar Corentin Bompard
Browse files

Update for pipeline

parent ada21a8c
Pipeline #15614 passed with stages
in 20 seconds
......@@ -75,7 +75,7 @@ static void check_word(game* game)
detected_error = NO_ERROR;
game->counter =
(game->selected_word_length - game->correct_letters + 1) *
TIME_FACTOR;
TIME_FACTOR_DIFFICULTY;
}
}
}
......@@ -157,7 +157,8 @@ void handle_events(game_events event, game* game)
game->inMenu = true;
game->selected_word[index++] = game->selected_char;
game->selected_word_length = strlen(game->selected_word);
game->counter = (strlen(game->selected_word) + 1) * TIME_FACTOR_DIFFICULTY;
game->counter =
(strlen(game->selected_word) + 1) * TIME_FACTOR_DIFFICULTY;
game->selected_char = 'a';
game->selected_char_index = 0;
msgq_post(game->menu_msq, (void*)MENU_RENDER);
......@@ -212,7 +213,8 @@ void handle_events(game_events event, game* game)
game->selected_word_length = str_length(game->selected_word);
game->selected_char = 'a';
game->selected_char_index = 0;
game->counter = (str_length(game->selected_word) + 1) * TIME_FACTOR_DIFFICULTY;
game->counter =
(str_length(game->selected_word) + 1) * TIME_FACTOR_DIFFICULTY;
msgq_post(game->menu_msq, (void*)MENU_RENDER);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment