Terraria clone coded in FreePascal in ~500 lines.