Skip to content

Commit

Permalink
Correct client to use AlphaBeta
Browse files Browse the repository at this point in the history
It's could be used directly to be used in challenge now.
  • Loading branch information
Yohan Gouzerh committed Apr 11, 2018
1 parent 0279fd2 commit f6b1c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::io::Write;

fn main() {
let address = args().nth(1).expect("missing machine name or IP address");
let mut strategy = IterativeDeepening::new(IterativeStrategy::MinMax);
let mut strategy = IterativeDeepening::new(IterativeStrategy::AlphaBeta);
let mut sending =
TcpStream::connect((address.as_str(), 12_345)).expect("failed connecting to server");
sending.set_nodelay(true).expect("failed setting no delay");
Expand Down

0 comments on commit f6b1c3f

Please sign in to comment.