Okay, so I’ve been playing a lot of Apex Legends lately, and I’ve got a problem – I get bored using the same character all the time, but then I freeze up trying to pick a new one.
So I thought, why not make a random character picker? I can just hit a button and boom, the game picks for me. No more hemming and hawing! I started working on this project and decided to share my progress.

First Steps: Figuring Out the Characters
First things first, I needed a list of all the characters in the game. I could just type them out, but that’s boring. Plus, what if they add new characters? I don’t want to update my list every time, so I looked for a website to automatically extract the character names. I found the name list on the official website.
Next Up: Coding
I decided to use Python because it’s what I know best. I wrote some code that basically goes to the website, grabs all the character names, and puts them into a list.
- I used some libraries called ‘requests’ to get the website content.
- And ‘Beautiful Soup’ to sift through the HTML and find the character names.
Making it Random
Now, I had the list, but I needed the random part. This is pretty easy in Python, they’ve got a built-in ‘random’ library. I just told it to pick one thing from my list, and we’re golden.
I ended up with a neat little script. When I run it, it spits out a random Apex Legends character. No more decision paralysis for me!
Next Steps?
It’s working, but I think I can do more with this. I’m thinking of adding features, like maybe letting you pick a category of character, or keeping track of who you’ve played recently. If I get around to it, I’ll post an update. For now, I’m just happy to have solved my character-picking problem. This was a fun little project, and it actually helps me enjoy the game more. It is worth trying.
If anyone else is having this same issue, give this a shot. It might seem silly, but it’s made my gaming sessions a lot more fun. And if you’re into coding, it’s a nice little project to practice on. Just remember to check for website updates if you’re scraping data like I did, things can change, and your code might break.
Until next time, happy gaming!