This is a write of the first project that I ever started building1, a text based RPG-Style game where you play a wizard that's out to get gold for... a reason...
This also comes with a snazzy Console library I wrote to use for this game, if you want to use that.. have fun.
I'm REALLY particular about my code style, there are some things that make me mad, personally. I don't expect EVERYONE to follow these rules, but if you do that would certainly be a plus on your PR.
Some quick steps before I get into my style:
- Clone repo
git clone https://github.com/Gammer0909/WizardGame.git
- Make your changes
- Build and make sure it all works, please D: (Idk how to set up a testing suite yet..)
- Make a PR
Can't come up with anything to PR but wanna help? Here are some ideas:
- Typo fixes! Those are always helpers!
- A class, method, property, etc. missing XML Documentation2? Add some!
- Can you come up with a better way to do something? Fix it!
Ok, on to my coding style:
I use C#'s official naming rules for classes, properties, etc.
However, I do some things specifically:
// I use `var` instead of the `new()` syntax:
var obj = new Object();
// I use K&R indenting
void Method() {
Something();
if (true)
SomethingElse();
}
If you use my code style, not only does it make me happy3, it limits tech debt a little.
Honestly, I can't figure out how to setup a testing suite for my C# projects, any help with this would be much appreciated!