Alright, I know this is your first game so you have plenty of room to improve on, so I'll try my best to be as constructive as possible:
First part, from the pure gameplay standpoint.
Aside from the obvious lacking of music and sounds, the walking physics feels bad. Likely because the collisions boxes on the objects are too big, and walking against an object doesn't stop you, but just keep rubbing your character against it causing the whole screen to shake. When you hold down to exit through a door, it takes a second to fade back into the world, at the time where you are still able to walk downwards, which ideally obviously shouldn't happen. The world feels pretty empty too, the background colors make it feels like you are walking on nowhere, and not a single NPC is out on the world. Ideally, you should be able to interact with the world/NPC using a button instead of just walk against it.
Some nitpicks apart from that would be some small designs issues like the castle not shaping like a castle and doesn't have a throne, the houses feel empty and stuff like that.
Second part, regarding the story.
Well, as a narrative game, the story is obviously lacking because it just boils down to less than 50 lines of dialogue. But ideally, when you are writing a extremely short story, you should not waste a single line just because of chekhov's gun, which most dialogue holds up pretty well, just some of it didn't. For example, the gunpowder line, which was supposed to be a hint to tell that the demoman was the killer, but was never mentioned again outside of the observation itself.
Most Whodunnit games have really linear storyline, but ideally you want to at least let the player make some amount of decisions, even if when they're wrong you just fail them, I can't tell you if my input actually affects the outcome in the game. Which the game has the excellent settings for it, after all, you are just a stranger passing by, who's gonna blame you for putting the wrong person in jail?
Some other nitpicks regarding the plot is that there's some pretty jarring plot holes, such as why would a king live in an inn that's walking distance from his castle, the knight just put his complete trust behind a stranger he just met 5 minutes ago to investigate the death of the king, and demoman just leave his murder weapon lying around, and how the maid from the inn didn't see the murder happening despite standing right outside the door which means she must have known who came in and out of the room, etc, etc.
If you are still interested in making detective games after the jam, I highly recommend checking out this video https://www.youtube.com/watch?v=gwV_mA2cv_0, which discuss a lot of aspects of detective games mechanics