reverting the hidden difficulty shift by 2 to make it consistent with the original source
This commit is contained in:
parent
34538c1436
commit
a2a12ef982
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ pub async fn handle(socket: &mut TcpStream) -> Result<(), String> {
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
let depth = get_one_char(b"123456789", socket).await? - b'0' + 2;
|
let depth = get_one_char(b"123456789", socket).await? - b'0';
|
||||||
|
|
||||||
let mut board = connect4::GameState::new();
|
let mut board = connect4::GameState::new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue