Closed cheloizaguirre closed 11 years ago
@cheloizaguirre While I appreciate the effort, I am not sure if a jump
command would encourage people to just bypass levels they have difficulty on instead of investigating a solution to the problem. My personal belief is that all the levels are possible and anyone who is determined enough will be able to complete them.
The only thing I would deem appropriate in this realm would be a skip
command that skips the current level and puts you on the next one. When you complete the level you skipped to, you are returned back to the level you skipped.
I will leave this pull request open for a short while for discussion purposes.
@Gazler I understand your concern, I would hate to see people skipping past levels because they're "difficult", that's half the fun! I think if I explain my use case you'll see why I saw the need for it.
I started a Git workshop at work to introduce the technology to coworkers who have ever only used Perforce and TFS. I found Githug and thought it was awesome (so, btw, thanks for the awesome tool!). So, in coordinating this workshop, assigning homework, walking people through setup, and presenting results to management, I've had to run through the levels several times now. There's a limit to how many times a guy can call "git init". So, I wanted a way to quickly get a git_hug game folder to the state we left it last session.
So, that is why I need it, but you might not see it as really needed for the overall vision of the project. I thought this would be a useful tool for people in my situation. I guess "hidden" features don't make much sense in open source, so I'll leave it to you to decide what happens to "jump".
@cheloizaguirre Thanks for responding. I think I have a possible solution to your problem.
There exists a .profile.yml
in your git_hug
folder - you can copy levels from the current_levels
section to the completed_levels
section and that will allow you to "jump" a number of levels.
Please let me know if this is of use to you.
There is another new feature added in 0.4.0 that lets you pass a level to reset if you wish to let your co-workers practice a particular level, you can run githug reset revert
for example.
...will take you to level 15)