Coder Social home page Coder Social logo

ahoylemon / idiots.win Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.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 jade lemon pug sass

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

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.

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.

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.

Prevent iframing

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

image

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.

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.