Live data from Hacker News

GitHubGuessr

github-guessr.vercel.app

11–20 of 54 posts

Re: GitHubGuessr

#11

Earlier quoted context omitted.

One of my quizzes included the copyright header for swift which was a giveaway, another was simply a pair of closing brackets and no other text at all, making it impossible. Overall the other ones that worked when it did work were fun though.

Oh, such cases can ruin the fun of the game. It's best to remove them as much as possible. Thanks for letting me know!

Also please colorize the source code and use Fira code or something snazzy :)

Re: GitHubGuessr

#12

Created GitHubGuessr: guess the repo from code snippets. Surprisingly challenging. Thoughts?

I would suggest to maybe replace the dropdown list with 12 or 10 tiles instead. would make navigation a bit easier (and the difficulty level less brutal, although that might just be me!)

this is a great game by the way! There might be scope for grouping the repos broadly by language. so when faced with some javascript code, the list of possible answers the user gets to pick from are all javascript-y repos. but this ofcourse makes it easier (maybe too easy).

Re: GitHubGuessr

#13

Earlier quoted context omitted.

Oh, such cases can ruin the fun of the game. It's best to remove them as much as possible. Thanks for letting me know!

maybe gradual hints should be shown as the counter gets closer to zero? Hint: Language is Javascript Hint: Owner is "Facebook" Hint: Other languages used in the repo include HTML 2.8% CSS 1.5% C++ 1.0% TypeScript 0.5% CoffeeScript 0.4% Other 0.2%

Thanks! Indeed, giving hints is a good idea. For now, I've made a change to provide hints based on the language and logo. I guess if the owner is revealed, it might become too easy due to the auto-complete UI.

Re: GitHubGuessr

#14

Earlier quoted context omitted.

maybe gradual hints should be shown as the counter gets closer to zero? Hint: Language is Javascript Hint: Owner is "Facebook" Hint: Other languages used in the repo include HTML 2.8% CSS 1.5% C++ 1.0% TypeScript 0.5% CoffeeScript 0.4% Other 0.2%

Thanks! Indeed, giving hints is a good idea. For now, I've made a change to provide hints based on the language and logo. I guess if the owner is revealed, it might become too easy due to the auto-complete UI.

right..the autocomplete UI itself could be a hint..

i was thinking it could be like hangman style..

    _ _ A C T

Re: GitHubGuessr

#15
Great game, something to pass the time in Uni waiting

One bug: I selected Selenium and it was wrong, then the next one I thought was also Selenium and it was. The drop down still has Selenium selected but an empty string was sent as the guess.

Thanks for making this!

Re: GitHubGuessr

#16

Cool idea, but first I got a file which immediately read "This source file is part of the Swift codebase" or smth, and them I got one which is just the characters "})", so pretty inbalanced. Took me a while to figure out that the arrows change between files.

Yeah, my first one had an import for k8s.io or something so I could easily guess Kubernetes but the second one was just 3 lines of some generic import

Re: GitHubGuessr

#17

Cool idea, but first I got a file which immediately read "This source file is part of the Swift codebase" or smth, and them I got one which is just the characters "})", so pretty inbalanced. Took me a while to figure out that the arrows change between files.

I had the inverse: literally only a return statement impossible to guess:

            return output
          }
        }
      }
    }
  }
I guess this is one of the cases where an app should pretend to choose a "random" snippet, but actually the user doesn't want real randomness.

Re: GitHubGuessr

#20

Hey, if any hackers out there have feedback (or even found bugs), let me know!

Scrollbars are typically hidden by default on MacOS. I saw source code that looked like it had to be some MongoDB repo, but only saw the first four options. I was confused for a bit. It also wasn't clear that left/right arrows let you view other parts of the code. I thought it would skip to the next question.
Post reply on HN