DelphiCraft icon indicating copy to clipboard operation
DelphiCraft copied to clipboard

Delphi Minecraft clone based on https://www.michaelfogleman.com/projects/craft/

Delphi Craft

this is a Delphi translation of the C project by Michael Fogleman

https://www.michaelfogleman.com/projects/craft/

screenshot

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:

  1. shr in Delphi is not signed, >> in C is signed.
  2. C do not have a div operator, I've miss translated a / to a float operator.

Now it support the network protocol !

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).

screenshot