I tried chatgpt. I asked it "show an example of using SFML to render a tile map". It gave me this. It worked. Well, once I fixed it. It gave me code for SFML 2.5, but I'm using 3.0 which changed the interface on several of those functions.