GithubHelp home page GithubHelp logo

git-game's Introduction

Welcome to the git-game!!

This is a terminal game designed to test your knowledge of git commands. Each level in the game is a task to perform on this repo. Once you perform that task, you will be given your next task. There are a total of ten levels, each one harder than last!

Let's get this journey started!!

Clone this repository by running:

$ git clone https://github.com/hgarc014/git-game.git

Don't know a lot about git??

Then you should check these files for assistance:

https://github.com/mikeizbicki/ucr-cs100/blob/2015winter/textbook/cheatsheets/git-cheatsheet.md

https://github.com/mikeizbicki/ucr-cs100/tree/2015winter/textbook/tools/git/advanced-git

Otherwise, you are free to continue...

You can win a badge for completing this game!

learn more about badges here: https://openbadgefactory.com/faq

You should always check the README.md file for your next clue!

Level 1

Your first task is to checkout the commit whose commit message is the answer to this question:

When a programmer is born, what is the first thing he/she learns to say?

git-game's People

Contributors

hgarc014 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-game's Issues

CHEATS! or might be called TIPS!

I guess we can avoid few things... skipping steps!

  • outputclue.sh can be by passed easily, without resolving the conflict! (sorry i'm not telling how)
  • you can change the to desier branch without removed tags.
  • @hgarc014 thanx for the awesome game!
    screenshot29

Is there any thing I missed on Level 5?

Hi, I noticed those words when I reached Level 5:

This file is hidden by default,
but did you know you have some branches that aren't shown to you,
when you check the list of branches?

I'm not sure if git has any method to hide a branch? Could you help me to find out why it mentioned that "some branches that aren't shown to you when you check the list of branches"

For me, this level looks like just do git checkout tree. Anything I missed?

Thanks!

md5sum

Just a little thing, not sure if this was intentional, but the md5sum binary is called md5 in OS X.

Got stuck on the .gitignore hint

For the riddle about the data-type and the hidden branches, I'm not quite sure how to proceed. I'm pretty new to git. Does anyone have a hint as to how I might find this hidden branch?

New game request

This is great for folks who already know their way around git. It is, of course, a test of git skills. The problem is that it assumes a certain familiarity with git. The links in the README are useful, but not all that much for people (like me) who are new to git.

Can we get a git skills trainer game for git beginners? That would be awesome.

Thanks.

Remote branch list spills all secrets

Doing a [ git branch -r ] reveals the list of all remote branches and then it becomes very easy to figure out which branch to checkout with the given the hints. Maybe a little more complexity should be added based on some other git concepts

lesson 2

when I get to the branch 'bug', the README is equal to the previous one. am I doing something wrong?

Level 3 typo

In the readme during level 3 it says "Congradulations" when it obviously should be congratulations.

outputclue.sh does not work on Windows (different issue than #8)

When running on Windows with git-bash (at least the way I have it configured), echo $w | $csum | awk '{print $1}' does not produce the expected hash of 7c85d987a917c2a555d1391426978f05. As a result, it prints the line: Well, congratulations!! You fixed my conflict!!... (even though the player has not yet completed the level's challenge of performing the merge and resolving the conflict).

I traced the problem to the fact that the read function in bash on Windows (at least in my configuration) reads a CRLF, and the hash was generated with just a LF.

Can't get beyond 'diff'

When I diff the two commits, I get this...

-Sn The Next Clue Is: YtrydjKsYqebDoI3h bTINUeV6 pTVY8jnK2re HRwwNy25Ps6 u0YChCo5Jtw N3xkH3G nx aGo6yQTW RVZMsf3xk tBL0sG9GAR HQbyGYdqs i6dx1fyIPGJVciz8Z1NzdrvGE CKgkFauXqfKJmas cDLerWvBTRzUikmP2 0sqk2Xhie2DcIv KtCyYTlNx7WxJp6A2yox3r aJX4r7FpUhgsyGIwc prCCNx46GKVgzaerab
+Sn The next clue is: YtrydjKsYqebDoI3h bTINUeV6 pTVY8jnK2re HRwwNy25Ps6 u0YChCo5Jtw N3xkH3G nx aGo6yQTW RVZMsf3xk tBL0sG9GAR HQbyGYdqs i6dx1fyIPGJVciz8Z1NzdrvGE CKgkFauXqfKJmas cDLerWvBTRzUikmP2 0sqk2Xhie2DcIv KtCyYTlNx7WxJp6A2yox3r aJX4r7FpUhgsyGIwc prCCNx46GKVgzaerab

Not clear what I should be doing next. Am I missing something?

Game is too short!

Would you like to share (blog?) how you managed to put this together without going crazy?
Is it kinda automated or did you do everything manually?
I was secretly hoping for an occasion to use git bisect for example.

Making a puzzle game out of it is an awesome idea for learning and it would be great to be able to extend this.

Can see no branches on level 1

After I've cloned the project
$ git branch
shows only the master branch - am I doing something wrong or is the branch simply not there?

Issues with Level 7 not showing up

It seem like level 7 gets skipped, but I see all the information about the level - 7 when I open the file nextclue_input.cpp using the command.
$ cat nextclue_input.cpp

outputclue.sh doesn't work on Windows

Don't want to give away anything, but it's the same error no matter what you use in place of FILE here:

C:\code\git-game>./outputclue.sh FILE 
'.' is not recognized as an internal or external command,
operable program or batch file.

./outputclue.sh not working correctly on Yosemite

Running the ./outputclue.sh script on master results in:

/git-game $ ./outputclue.sh nextclue_input.cpp
./outputclue.sh: line 22: md5sum: command not found
./outputclue.sh: line 22: [: =: unary operator expected
./outputclue.sh: line 22: md5sum: command not found
....

This block of code runs because if [[ "$OSTYPE" = "darwin" ]] fails. In my terminal, $ $OSTYPE returns darwin14.

Working of Open Badge assignment

Hey @hgarc014,

It was a nice little game but now when I'm done with it, I'm confused that how to use the open badge thing.

It is asking to Attach Evidence as You can attach evidence of your achievement to the badge. Evidence can either be an URL or a file. but I'm not getting it that what it is asking for?

Can you help me here?

Where is the game gone?

There is nothing in master branch except a license and a readme file, where are the game files?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.