University's Project


#1

Hi everyone! Me and my colleague are planning a game in Rust. This is a gameboard, so we’re starting from the crate: chess. We have some problem with the moves on the BitBoard. One of our problems is:
Which input is required by the types: Rank and File? The errors are: E0061, E0308

thank you, Chiara and Francesco


#2

Hi, you can use Rank::from_index() and File::from_index() to initialize them but I don’t think that it is really your problem. You can look up the errors here, I’d like to help more but without seeing the code I don’t know how, you can use the playground to easily share code.


#3

Thank you very much for helping us!