

GitHub - slikts/js-equality-game: The Worst Minesweeper ? Ever
source link: https://github.com/slikts/js-equality-game
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
JavaScript Equality Table Game…
…or why you should prefer the ===
operator.
- Play the game
- Inspired by JavaScript Equality Table
- Discussion about value order
- Weak typing in Wikipedia
- Visual explanation
Screenshot
Trivia
Brendan Eich was asked to add the loose equality checking rules by a coworker in Netscape and considers it a mistake.[citation needed]
Motivation
The initial reason to make this game was to try out state management with immer-wieder, but it's also to demonstrate that the ==
rules are easy to get wrong even if you feel like you're familiar with them. It's in response to claims like this one by the well-known author getify:
However, implicit coercion is a mechanism that can be learned, and moreover should be learned by anyone wishing to take JavaScript programming seriously. Not only is it not confusing once you learn the rules, it can actually make your programs better! The effort is well worth it.
Emojis
The game uses emojis; your system and browser should preferably support color fonts and have an emoji font like EmojiOne or Noto Color Emoji installed for the emojis to display properly. If not, the game will provide fallback SVG images from emojitwo (using emoji-extractor).
Recommend
-
79
-
71
-
74
The Minesweeper game in 100 lines of JavaScript Let's bring the 1989 Minesweeper game back to life! Actually the game is much older, but it gained worldwide fame...
-
32
Files Permalink Latest commit message Com...
-
3
Minesweeper Game Minesweeper game made using React Native, Typescript, and Styled Components!
-
8
The Worst Number-Guessing Game EverAuthor: Graham Mitchell Filename: WorstGuessing.java The Worst Number-Guessing Game Ever Write a program that plays an incredibly stupid number-guessing game. The user w...
-
8
Minesweeper game written with ChatGPT This project is an HTML Minesweeper game written as a result of my interaction with OpenAI's ChatGPT. At the time of writing, ChatGPT is avai...
-
2
ebarlas/minesweeper-csp main
-
6
Minesweeper Minesweeper is a Go implementation of Microsoft Minesweeper using
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK