This is just a basic sprite-based raycaster. mouse to turn w and s to move foreword and back when you get to the part with the weird middle walls, you win!
@creatorofgood did help me with this