Skip to content

Commit

Permalink
Use a slightly deeper search by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nneonneo committed Apr 2, 2014
1 parent ec43bbe commit ad2b748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2048.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static float score_tilechoose_node(eval_state &state, board_t board, float cprob
/* don't recurse into a node with a cprob less than this threshold */
#define CPROB_THRESH_BASE (0.0001f)
#define CACHE_DEPTH_LIMIT 6
#define SEARCH_DEPTH_LIMIT 7
#define SEARCH_DEPTH_LIMIT 8

static float score_move_node(eval_state &state, board_t board, float cprob) {
if(cprob < state.cprob_thresh || state.curdepth >= SEARCH_DEPTH_LIMIT) {
Expand Down

0 comments on commit ad2b748

Please sign in to comment.