deykun / diffle-lang Goto Github PK
View Code? Open in Web Editor NEWA multilingual word game without a character limit. 🇨🇿 🇩🇪 🇬🇧 🇪🇸 🇫🇮 🇫🇷 🇮🇹 🇵🇱
Home Page: https://deykun.github.io/diffle-lang/
License: MIT License
A multilingual word game without a character limit. 🇨🇿 🇩🇪 🇬🇧 🇪🇸 🇫🇮 🇫🇷 🇮🇹 🇵🇱
Home Page: https://deykun.github.io/diffle-lang/
License: MIT License
If there are no polish characters in the word, we are making them unavailable on the keyboard. The same we could do with Q X V, since polish words does not conain them. Unless there are some which are accepted by dictionary but I tried 'quiz' or 'taxi' and they are not allowed. If this is the case, we can make them unavailable for selection.
Because GitHub Pages are simple static sites instead of serving one huge dictionary (over 50MB) to each user. That dictionary is presliced into chunks like chunk-aaa.json
, chunk-aal.json
, chunk-aar.json
etc.
There are around 9,000 small files just for the Polish dictionary (6,500 for spelling words and 2,500 for winning words). Deploying those files takes the majority of the time because the process of moving one file is slow.
That process should be streamlined before adding new languages to the project. Files should be zipped and unzipped, caching is possible since the dictionary doesn't change often.
actions/upload-artifact#199
https://github.com/marketplace/actions/cache
https://github.com/marketplace/actions/action-zip
If the game finishes after 01:00, it allows the user to copy a link with a newer date, but it refers to yesterday's game.
The game should stop when the day changes.
A new day starts at UTC time, which is the same worldwide. However, if someone moves from Poland to the UK and manually adjusts the date instead of changing the timezone in their system, they can create a shared link with a password that will display it to people in regular UTC zones.
Expected behaviour
Such spoilers should be blocked
Some users want to know how long it took them to guess the word.
Personally, I want users to guess in the smallest number of letters because it's smart and clever, and that's what really keeps people interested in wordle-like games. Maximizing for time doesn't achieve that.
However, I collect that information to calculate the average and total time spent in different languages, so I can optionaly show it to users interested.
With words:
27.01.2024 – 🇵🇱 #diffle #difflepl
17 liter w 3 słowach
🟢 13 🟡 0 ⚪ 4 🔴 0
https://deykun.github.io/diffle-lang/pl?r=hkSM5MWLsh2YuEGN10ybsNnLxMWL39GbuAjL04CMuMTMuknbu9mM4USNDVCajhSI
Without them:
27.01.2024 –
17 liter w 3 słowach
🟢 13 🟡 0 ⚪ 4 🔴 0
https://deykun.github.io/diffle-lang/pl
The hint that should appear for 5, 10, 25, 50, and 75 consecutive wins in a row for the daily challenge doesn't consider the current win but rather the previous one (it's determined before the stat is saved).
It works when we return to the screen, but generally it shows a streak of 5. But when we go to stats we will see a streak of 6 not 5, after returning we doesn't see that number at all because 6 is not promoted.
Now:
When the user types all the known letters, the keyboard turns green.
After:
After all known letters are typed, the word should be validated for known neighbours.
Message should be displayed:
Your word can't win, but you can use it while searching for the winning word. (winning word contains EX)
End and start affixes should be validated separately too. In the example above, we know that EX cannot be at the beginning.
Users are currently informed when they type a known wrong letter:
It should be open only if the user enters the site for the first time.
The expected implemented behaviour should be to set English as the default fallback language.
stack.total = stack.total + value;
was called twice
Source: https://www.reddit.com/r/de/comments/1ax2hae/comment/krlcxg7/
Wieso summieren sich die Prozente der Buchstabenanzahl dann nicht auf 100 %?
Why don't the percentages of the letter count add up to 100%?
I tried using the word "Francja". Got an error saying that it's not an existing word. I suspect it's because in polish, the name of countries start with a capital letter.
They cannot be reproduced ideally because all accented/special characters have their own key cap, but more can be done to utilise those layouts.
Sources:
https://jlai.lu/comment/5842369
https://jlai.lu/comment/5842392
Wrong order - but it should be fine.
Reported here:
Plus: fix typo add "w niewłaściwej"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.