Andriamanitra / coctus

Command line tool for playing clashes and I/O puzzles from CodinGame locally
MIT License
4 stars 2 forks source link

implement FromStr for PublicHandle (fixes #38) #39

Closed Andriamanitra closed 7 months ago

Andriamanitra commented 7 months ago

also had to create a new method for picking next clash with certain modes because the new way to get a handle (which returns an Option rather than Result) wouldn't work nicely with the old .or_else(|_| ...)

needs to be thoroughly tested before merging, I didn't have time to make sure all the commands still work correctly yet

fixes #38 – you should now get a nice error message like this: error message screenshot