Okay, so I wanted to make a name generator, you know, for, like, fantasy characters or whatever. I decided to give this “stalwart names generator” thing a shot. It sounded cool, and I figured it would be fun to mess around with.
Getting Started
First, I needed some lists of names, right? So I just started brainstorming. I thought about different types of names – strong-sounding ones, maybe some that sounded a bit old-fashioned, and definitely some that just felt, well, stalwart.
- First Names: I jotted down things like “Beric,” “Torvin,” “Gwendolyn,” “Hilda,” stuff like that. You know, names that sound like they belong to someone you wouldn’t want to mess with.
- Surnames: For these, I went with things that sounded tough or maybe related to a trade, like “Stonehand,” “Ironwood,” “Miller,” “Shepherd.”
Putting It Together
Next, I needed a way to combine these. Initially, I just did it manually, like picking one from each list and seeing if it sounded good. “Beric Stonehand?” Yeah, that works. “Gwendolyn Miller?” Sure, why not.
Making it “Automatic”
I wanted a more random way to combine names. So I used a simple random method to combine them.
I Wrote some simple code, using a randomizer, and made a simple program with python:
import random
def generate_stalwart_name():
first_names = ["Beric", "Torvin", "Gwendolyn", "Hilda", "Einar", "Astrid", "Ragnar", "Freya"]
surnames = ["Stonehand", "Ironwood", "Miller", "Shepherd", "Blackwood", "Oakhaven", "Rivers", "Hill"]
first_name = *(first_names)
surname = *(surnames)
return f"{first_name} {surname}"
for i in range(5):
print (generate_stalwart_name())
That’s it, it works very well!
The Results
The results I saved in a txt file, then picked some good ones from them:
- Torvin Oakhaven
- Freya Shepherd
- Ragnar Ironwood
- Gwendolyn Rivers
- Einar Stonehand
So yeah, that’s basically it. It’s not super fancy, but it’s a fun little project, and it does the job. I can generate a bunch of names, and if I don’t like one, I just generate another. It’s a pretty good way to get the creative juices flowing if you’re stuck trying to come up with names for characters or whatever.