I have a GitHub project which does the same thing (a simple RogueLike game demo, an @
moving around a hardcoded map) in several different languages:
I plan to make it more sophisticated and add the same new functionality to each implementation in delimited steps.
- As simple as I could make it
- Naive OO (where appropriate for the language...)
- Simple map generator rather than hardcoded
- Etc. more steps here
The intent is also to be able to do things like allow people to be able to contribute an implementation in a different languages for any of the steps if they wish/improve an implementation etc., but looking at the docs I should be able to figure out how to merge these back in/use pull requests
Now, given all that, my main question is, for each step should I fork or branch the project?
Also, is it possible to have git keep a local copy of each branch? Because it seems that it just keeps the branch you're working on at the moment and there's a lot of fiddling around to sync them back and forward... or maybe that's just because I'm new to git and github and not completely comfortable with all the commands yet. Or is it because I should be forking rather than branching? I tried doing a branch to start doing stage 2 and there was a lot of fiddling around when trying to change my local copy between the 2 branches...
Please be gentle with me, I'm new to git/GitHub, and I have tried Googling and searching StackOverflow but I'm not really sure what I'm looking for.