The first program I ever wrote was a choose your own adventure, I
think written on my family’s IBM PC jr in Basic. It’s pretty amazing how far a kid can get with GOTO statements and a lot of patience. But for some reason I couldn’t (or didn’t know how to) save it, so I’d work on it all day, have my sister and mom play it, and then shut off the computer thus losing my days work.
Or at least, that’s how I remember it. It’s been a good 40 years though and I wouldn’t be surprised if reality was quite a bit different.
Edit: I’ve been thinking about this a bit and honestly my motivation for writing software hasn’t really changed. The users, sure, but not the motivation. It’s just thrilling to share things I built with other people.