My attempt at writing a go (the board game) engine, in Rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fmt

+1 -5
+1 -5
src/coord.rs
··· 25 25 return None; 26 26 } 27 27 let val = col as u8 - b'A'; 28 - if col >= 'I' { 29 - Some(val - 1) 30 - } else { 31 - Some(val) 32 - } 28 + if col >= 'I' { Some(val - 1) } else { Some(val) } 33 29 } 34 30 35 31 /// Convert a 0-based x coordinate to a GTP column letter.