If you want to see more Pascal game code, a few months ago there was an MS-DOS game jam and i wrote a 3D adventure game in Free Pascal[0] :-). It comes with the source for the game and editor (the editor is in Lazarus).
I might do a proper submission to HN once i finish the OpenGL [1] and OUYA [2] ports. There is also a Windows port (this one is already available) that runs even on Win95, though it uses GDI so it isn't exactly fast (i might do a DirectDraw version at some point too).
[0] https://bad-sector.itch.io/post-apocalyptic-petra (scroll down for the downloads)
[1] https://i.imgur.com/xH9asnp.jpg