LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

looking for heavily commented programs

Root / Programming Questions / [.]

chewieloganCreated:
i'm having problems figuring out how to do certain things in code. Do you know any games with lots of comments in the source? i think i could do better if i can play something, then jump to edit see what certain commands are doing. thanks, ryan

Commented hobbyist code is hard to come by, even if the coder has a keyboard. In an environment like this, it's going to be even harder to find. I don't know of any well commented code, and I think the only people who know if code is commented are the people who actually wrote the programs lol. Hopefully one of them sees this thread and points you in the right direction. Here's some which MIGHT have comments (I haven't looked at them though): Honestly, it could be the case that NONE of those have comments, but it's worth a shot.

Lol last I remember I didn't write a single comment in Starfield Test. I don't comment often :P

thanks. just looking at the code and then checking the command list is pretty helpful, and that's mostly how i've been working so far. I wanted to make a minesweeper clone at first, but someone (MCGamer20000) had already made one. I've been using it for practice, tweaking the code here and there to see what it impacts while playing. I've managed to change the speed of the cursor, and change the sounds, and some other things here and there, but it's slow going. It's fun figuring out this stuff, but putting it all together into a game makes my brain hurt. I suppose a lot of it is just learning the fundamentals of coding in general. Anywho, thanks again for the suggestions. comments would be ideal, but I can at least compare the code for multiple programs and wait for my eureka moment.

Lol last I remember I didn't write a single comment in Starfield Test. I don't comment often :P
Aw dang, I thought you had at least some comments in our JS code, so I figured you would put something in yours. Don't worry chewielogan, it really is just a slow process. Doing what you're doing is really helpful.

The code that I uploaded("Friendly Pellet Rain or something") is not commented because lowerdash erase them when it compile the modules. But if anyone want to see how it's done, then I can upload the uncompiled project.

Figuring out other people's code is generally impossible I wouldn't reccommend it lol

Figuring out other people's code is generally impossible I wouldn't reccommend it lol
Unfortunately this is usually true B^) Unless their code style is impeccable or they either comment or write up some docs, it's usually rather difficult to figure out just by looking at it, excepting the obvious really easy examples. You seem to be getting along fairly well though. I commend thee.

Learning any programming language is something that happens over a lifetime. I really started learning SmileBASIC when I decided on a passion project. Once you really want to see your idea become a reality, your desire will push you forward in your studies. This has been a PSA by me.