Giter VIP home page Giter VIP logo

js-equality-game's Issues

[] == 0, [[]] == 0

Not sure if this is specific to Chrome, or just a general deviance from what's been stated in the spec, or just something the game got wrong, but:

image

Yet,

image

(p.s., yeah, I kinda cheated on a few ;-)

p.p.s., You may also consider showing some other horrible truths, like,

image

Shuffle the table for unique replays

As the title says, I believe it might be a good idea to shuffle the table headers - as a result, it could be a real test as opposed for optimizing for visual memory.

Translations

Hi there ๐Ÿ˜„

Thanks for your projet, really cool to explains dangers of double equals to people that never use triple,

Would be great to translate it, I can contribute to add French translations ๐Ÿ‘

Not clear how to play

The usual minesweeper UX is to right-click for a flag and left-click to "open" the square. That's what I tried to do initially. It was very confusing that clicking on any square would just put a flag and I had to figure out that I had to click "Show Results" in order to make anything happen. The minesweeper game has no "Show Results" button.

You could either put one sentence of instructions on how the game is supposed to be played, or make it like minesweeper. But even then - you should still put instructions because some people might have not played the original game.

It's a clever project, though! ๐Ÿ™Œ

Visual logic is reversed

If you don't read the text fully, from the visuals only you get the impression to flag all false fields, not all true ones.

The strictly equal fields are marked with a checkmark (good) which should be the opposite of a mine (bad).
So when those are no mines, surely all true fields are no mines, right? And thus you have to mark all other fields (the false ones) with a flag, because there is a mine under them.

The visuals for the results were also very confusing to me, and I think there should be a legend.

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.