+1
CMakeLists.txt
+1
CMakeLists.txt
···
+100
-50
core.cpp
+100
-50
core.cpp
···-int32_t get_move_score(uint8_t player, uint8_t player_this_turn, uint8_t col, BoardState state, bool *move_possible, uint8_t depth)-printf("Total moves: %lu (%f%%), wins found: %lu, dead-ends found: %lu, depth: %d\n", total_moves_evaluated, percent_completed, wins_found, dead_ends_found, min_depth);+printf("Total moves: %lu (%f%%), wins found: %lu, dead-ends found: %lu, depth: %d\n", total_moves_evaluated, percent_completed, wins_found, dead_ends_found, min_depth);+int8_t row = make_move_lookup_full(player_this_turn, nodes[depth].curr_move_column, nodes[depth + 1].state);+if (check_for_win(nodes[depth + 1].state, player_this_turn, row, nodes[depth].curr_move_column))-total_score += get_move_score(player, player_this_turn, col, state_new, &temp_move_possible, depth + 1);-// @TODO: lol this function still only gets the move score for one move, gotta get back to that
+1
-2
core.h
+1
-2
core.h
···bool check_for_win(BoardState state, uint8_t last_move_player, uint8_t last_move_row, uint8_t last_move_col);-int32_t get_move_score(uint8_t player, uint8_t player_this_turn, uint8_t col, BoardState state, bool *move_possible, uint8_t depth);
+3
-5
main.cpp
+3
-5
main.cpp
······