Giter Site home page Giter Site logo

hfjfhfjgjgkgjgjgjvj / wordle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hugo0/wordle

0.0 0.0 0.0 4.55 MB

Open Source Wordle in a bunch of languages

License: Other

JavaScript 6.69% Python 8.69% CSS 0.07% HTML 7.74% Jupyter Notebook 76.81% Procfile 0.01%

wordle's Introduction

Wordle Global

wordle.global

Open Source Wordle in a bunch of languages

PULL REQUESTS WELCOME!

It would be mega awesome if you could help in any way (especially with language addition/curation).

How to add a new language:

  1. Make a folder in webapp/data/languages/ with the language code (e.g. en, de, fr, qya, etc.)
  2. Add a list of 5-letter words and call it {lang_code}_5words.txt
    1. (Optional) Add a language_config.json file
    2. (Optional) Add a keyboard configuration
    3. (Optional) Add a list of supplemental words (useful to have this for weird/rare words, and only have 'common' words in the main 5words.txt file)

Voilร !

How to run locally

If you want to test out your changes, you can run the server locally.

  1. Install Python 3

  2. Install requirements pip3 install -r requirements.txt

  3. Run web server locally gunicorn --chdir webapp app:app

  4. Navigate to http://127.0.0.1:8000/

TODOs

  • take into account browser bar height on mobile
  • curate wordlists for existing languages
  • add keyboard layouts for existing languages
  • add more languages
  • fully translate game interface (missing score streaks and options)

Potential improvements:

  • nice animations for revealing letters & such
  • make a 4, 6, 7 letter version
  • deal with accents & character modifiers better (e.g. french is horrible right now)

Nice to haves:

  • improve code quality (e.g. make variable names consistent, code more reusable & less hacky)
  • properly integrate TailwindCSS and Vue.js (i.e. not from CDN)
  • tests...

Status of Languages

  - Hebrew (he):                   ๐ŸŸจ (64540 words)
  - Serbian (sr):                  ๐ŸŸจ (17968 words)
  - Central Kurdish (ckb):         ๐ŸŸฉ (14819 words)
  - English (en):                  ๐ŸŸฉ (12948 words)
  - Slovenian (sl):                ๐ŸŸจ (11731 words)
  - Persian (fa):                  ๐ŸŸจ (11253 words)
  - Norwegian Nynorsk (nn):        ๐ŸŸจ (10523 words)
  - Slovak (sk):                   ๐ŸŸจ (10444 words)
  - Greek (el):                    ๐ŸŸจ (10209 words)
  - Polish (pl):                   ๐ŸŸจ (10184 words)
  - Arabic (ar):                   ๐ŸŸจ (10166 words)
  - Ukrainian (uk):                ๐ŸŸจ (9589 words)
  - Danish (da):                   ๐ŸŸจ (9516 words)
  - Estonian (et):                 ๐ŸŸจ (9459 words)
  - Turkish (tr):                  ๐ŸŸจ (9224 words)
  - Catalan (ca):                  ๐ŸŸจ (9079 words)
  - Portuguese (pt):               ๐ŸŸจ (9016 words)
  - Korean (ko):                   ๐ŸŸจ (8922 words)
  - Georgian (ka):                 ๐ŸŸจ (8827 words)
  - Romanian (ro):                 ๐ŸŸจ (8618 words)
  - Icelandic (is):                ๐ŸŸจ (8285 words)
  - Czech (cs):                    ๐ŸŸจ (7544 words)
  - Basque (eu):                   ๐ŸŸจ (7520 words)
  - Norwegian Bokmรฅl (nb):         ๐ŸŸจ (7471 words)
  - Dutch (nl):                    ๐ŸŸจ (7441 words)
  - Breton (br):                   ๐ŸŸจ (7143 words)
  - Faroese (fo):                  ๐ŸŸจ (6448 words)
  - Western Frisian (fy):          ๐ŸŸจ (6095 words)
  - Hungarian (hu):                ๐ŸŸจ (6047 words)
  - Macedonian (mk):               ๐ŸŸจ (5998 words)
  - Swedish (sv):                  ๐ŸŸจ (5968 words)
  - Turkmen (tk):                  ๐ŸŸจ (5814 words)
  - Latin (la):                    ๐ŸŸจ (5802 words)
  - Irish (ga):                    ๐ŸŸจ (5082 words)
  - Bulgarian (bg):                ๐ŸŸจ (4953 words)
  - Azerbaijan (az):               ๐ŸŸฉ (4873 words)
  - Mongolian (mn):                ๐ŸŸจ (4830 words)
  - Russian (ru):                  ๐ŸŸจ (4688 words)
  - Gaelic (gd):                   ๐ŸŸจ (4660 words)
  - French (fr):                   ๐ŸŸจ (4482 words)
  - Occitan (oc):                  ๐ŸŸจ (4204 words)
  - Armenian (hy):                 ๐ŸŸจ (3848 words)
  - Western Armenian (hyw):        ๐ŸŸจ (3748 words)
  - Spanish (es):                  ๐ŸŸจ (3602 words)
  - Croatian (hr):                 ๐ŸŸจ (3591 words)
  - Fur (fur):                     ๐ŸŸจ (3569 words)
  - Finnish (fi):                  ๐ŸŸฉ (3271 words)
  - Galician (gl):                 ๐ŸŸจ (3269 words)
  - Italian (it):                  ๐ŸŸจ (2783 words)
  - Latvian (lv):                  ๐ŸŸจ (2775 words)
  - Interlingua (ia):              ๐ŸŸจ (2476 words)
  - Esperanto (eo):                ๐ŸŸจ (2449 words)
  - German (de):                   ๐ŸŸจ (2277 words)
  - Nepali (ne):                   ๐ŸŸจ (2197 words)
  - Interlingue (ie):              ๐ŸŸจ (2147 words)
  - Lithuanian (lt):               ๐ŸŸจ (2004 words)
  - Luxembourgish (lb):            ๐ŸŸจ (1752 words)
  - Quenya (qya):                  ๐ŸŸจ (1327 words)
  - Low German (nds):              ๐ŸŸจ (1001 words)
  - Vietnamese (vi):               ๐ŸŸง (739 words)
  - Latgalian (ltg):               ๐ŸŸฅ (388 words)
  - Klingon (tlh):                 ๐ŸŸฅ (270 words)
  - Maori (mi):                    ๐ŸŸฅ (128 words)
  - Kinyarwanda (rw):              ๐ŸŸฅ (21 words)

Credits:

  • Josh Wardle (original Wordle creator)
  • NYT (presumably holds the copyright or some IP rights or something with their $$$ purchase)
  • Elizabeth S (inventor of the Wordle grid)
  • Nadia H (my lovely beta-tester)
  • Daniel Rodriguez (for some inspiration with Tailwind)
  • Wordles of the World for a community-sourced list of wordle-derivatives (it's impressive how many actually exist)

Data sources

wordle's People

Contributors

adimoldovan avatar arildm avatar aspich avatar bag0n avatar blue0tech avatar discapes avatar hfjfhfjgjgkgjgjgjvj avatar hugo0 avatar mzrnsh avatar nadiahay avatar rjs02 avatar rojvv avatar shahidsamadov avatar

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.