GithubHelp home page GithubHelp logo

ahoylemon / idiots.win Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 6.0 2.26 MB

Google Autocomplete Guessing Game

Home Page: http://idiots.win/

JavaScript 30.48% CSS 15.74% HTML 22.03% Pug 14.43% SCSS 17.33%
google-autocomplete guessing-game lemon jade sass pug

idiots.win's Introduction

Idiots win.

(The Google Autocomplete Guessing Game)

What is this?

idiots win turns Google's autocomplete algorithm into a guessing game. Each new round, the game takes all the possible autocompletes for a single query, randomizes them, and invites you to guess which one was meant to come first in the results.

Tell me more about this autocomplete query.

It is decidedly not officially supported by Google. The site does a json request out to suggestqueries.google.com and comes back with the results. It works for now, I have no idea if it will continue to work in the future.

Also, Google's autocomplete is constantly changing and based on regional information. The top result is realistically only the top result for you at that moment.

Who made this

Lemon made this. Montrith provided the majority of the queries.

Isn't this kind of like Google Feud?

Google Feud is a site built by Justin Hook that turns Google's autocomplete into a game of Family Feud. It's terrific, you should play it if you haven't. This is a different thing with a similar premise.

Can I suggest queries?

Sure. Either get a hold of Lemon to get access to the master spreadsheet, or submit a pull request.

Whose voice is that?

The "by Lemon" jingle was performed and produced by Jack Chick

Do you take pull requests?

Absolutely.

What's this written in?

idiots.win's People

Contributors

ahoylemon avatar imgbotapp 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

Watchers

 avatar  avatar  avatar  avatar

idiots.win's Issues

New plan to bust out of iframe.

The way that I have implemented shitty websites iframing in Idiots win is to try to remove it from the iframe.

_actions.js, line 60

However, browsers are preventing this from working.

SO, find another way to fuck with those sites.

use full list of results.

Currently, the game is pulling the top 5 results and randomizing them.

What I would like to do instead is take the full list of results (however large), and pull a max of 5 from those.

This would require making sure that the top result is always in the 5, and that each result knows where it was on the list originally.

Match query against result.

It's possible for the query to actually show up in the list of results. This happens with "how poop". So I need to prevent that from happening.

The challenge here is in making sure that when it removes that from the list of results, it also resorts the order of results to accommodate.

Persistent round counts

Store player actions in local storage to remember what happened between sessions (similar to damn.dog's approach)

jade -> pug

Just realized this is still in jade syntax. Should update this when I can.

Prevent iframing

The site's broken for these peple, but I'd like it to be more broken.

image

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.