reverting the hidden difficulty shift by 2 to make it consistent with the original source

This commit is contained in:
cqql 2024-10-19 16:07:20 +02:00
parent 34538c1436
commit a2a12ef982

View file

@ -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();