andHW / squid-game-grid

A web-based recreation of the Squid Game Elimination Grid.

Home Page:https://andhw.github.io/squid-game-grid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Squid Game Grid

A simple web representation of the Squid Game Grid.

The demo can be found here.

Designed to be responsive.

Just a POC, the code is not very nelegant and disregarded broswer compatibility.

Config

See main.js to set the DEFAULT_NUM_OF_PLAYERS.

You may also upload a config.json file in the following format:

{
    "players": [
        {
            "number": 1,
            "picUrl": "456.webp"
        },
    ]
}

Only 1 to 100 are tested.

Handy debugging commands

[...document.querySelectorAll(".square:not(.gone, .empty)")].slice(0,-1).forEach((e)=>e.click());

Ideas

  • Save the state of the game to a cookie.
  • Add squid game geometric shaped buttons (reset the game, toggle fullscreen, etc).

References

About

A web-based recreation of the Squid Game Elimination Grid.

https://andhw.github.io/squid-game-grid/

License:MIT License


Languages

Language:JavaScript 81.7%Language:CSS 11.3%Language:HTML 6.9%