trickyturtle / RPGscripts

Some RPG tools written to practice Ruby
0 stars 0 forks source link

For Joe pt3 #13

Open trickyturtle opened 7 years ago

trickyturtle commented 7 years ago

I am going to start peppering the code with TODO statements (which typically are used to remind yourself to do something) which explain why I did something a certain way, feel free to delete those once you feel like you understand them, or to add your own with questions (in your branch, not on master). We will probably run into merge conflicts doing this, but that's fine, we'll deal with that when it comes. Alternately, you can generate questions by creating issues, and I will respond to them in the issue tracker. This method would avoid merge conflicts, but I wouldn't worry about it too much. They can be a pain, but we will have to deal with them sooner or later.

trickyturtle commented 7 years ago

you can find the TODOs by using ctrl-f (or using find from the drop-down menu). they are mostly in CoCCharGen, which is where most of the code is.

trickyturtle commented 7 years ago

Also, just general overview of what to look at: The main area that is fleshed out is the CoC folder, and in there main file is the CoCCharGen.rb. Basically what it does is create an empty character, and then run a series of functions that each add a layer of personality to that character. It goes through the standard players manual stuff, but then I added my own layers for more flavor. It's in an in between state right now. I originally just had the one file (the CoCCharGen.rb), but it got to be too huge to deal with, so I'm in the middle of separating it into parts. The "lib" (for library) folder contains files that would be useful to any similar generator. I have some ideas about where I want things to go, but I'm curious about your thoughts on it before I pollute your mind, so let me know when you have found some time to go over it a bit and have some idea of how things work (you don't have to understand everything, that almost never happens in coding).