krestenlaust / ChessGame

Chess-engine designed and implemented by my friends, Cogo and Patrick, and I. Features AI opponent (using minimax), Lichess integration and multiplayer-on-LAN.
5 stars 1 forks source link

Use nullable reference types or exceptions #12

Open krestenlaust opened 1 year ago

krestenlaust commented 1 year ago

There is a few methods which return null, but this behavior isn't documented. Either they should throw an exception instead, or be documented using nullable annotations.