Skip to main content

validate

Function validate 

Source
pub fn validate(level: &Level) -> Result<Vec<Placement>, String>
Expand description

Convenience: validate a level exhaustively, returning the solution found (also checks an authored level’s claim that it is solvable).