Loading yaht.c +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ unsigned int take_turn(game_context *ctx, unsigned int num_dice) { // enter the score menu char *selection = get_player_score_selection_with_menu(&ctx->game_state.scorecard); calculate_selection_score(ctx, selection); return 0; return 0; // 0 signifies user_quit == false, which will move on to the next turn } else if (strcasecmp(player_action, "quit") == 0) { // todo this could be more robust or interactive. maybe add the final score? // also you could maybe ask to start a new game or to quit the program Loading Loading
yaht.c +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ unsigned int take_turn(game_context *ctx, unsigned int num_dice) { // enter the score menu char *selection = get_player_score_selection_with_menu(&ctx->game_state.scorecard); calculate_selection_score(ctx, selection); return 0; return 0; // 0 signifies user_quit == false, which will move on to the next turn } else if (strcasecmp(player_action, "quit") == 0) { // todo this could be more robust or interactive. maybe add the final score? // also you could maybe ask to start a new game or to quit the program Loading