Commit f417431a authored by Chris's avatar Chris
Browse files

further explanation in comments

parent ae15adf7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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