this is a Delphi translation of the C project by Michael Fogleman
https://www.michaelfogleman.com/projects/craft/
the code is somehow inhabituel for a Delphi developer because it's a raw translation of the original code with as few change as possible to identify easily the translation errors.
it took me some time to identify two errors:
- shr in Delphi is not signed, >> in C is signed.
- C do not have a div operator, I've miss translated a / to a float operator.
note that Craft.Auth.pas do not implement the authentication against Michael's server, so you can only join it's server as a guest (I don't wont to bother him with my code).