Alright, guys, so the other day I got this idea to make a “spin the wheel” thingy, but for NBA players. You know, for fun, maybe to decide who to bet on or something, just random stuff. I didn’t really know where to start, but I figured, “Hey, I can do this!”
Getting Started
First things first, I needed, like, a basic wheel. I’m not a designer, so I wasn’t about to create some fancy spinning animation from scratch. I just wanted something simple and functional. So I searched on the internet for a good and simple template. It gives me some basic HTML and CSS and I can mess with that, no problem.

Listing the Players
Then came the real work, getting all the NBA players’ names. Man, that’s a lot of players! Initially, I want to include all players from different eras, and that would be awesome.I started typing them in manually. I got through, like, ten names and was already tired.
I was thinking I need to create a simple database for all the player’s names. That means I need to input these data line by line… that’s a lot of work. I have to save it for another time.
Making it Spin!
Okay, so I’ve got the wheel, and I’ve got, some player names in there. Now, I need some Javascript. Let’s be real, I copy and pasted most of it. It had some basic functions to spin the wheel, pick a random section, and display the result. I just tweaked it a little to use my player names instead of whatever was in the example.
Tada! (Sort Of…)
And there you have it! It’s super basic, but it works. I click the button, the wheel spins, and it lands on a player.
It’s not pretty, and it definitely needs more work, but it’s a start! And it’s kind of fun to mess around with.