A learny game for getting faster at reading Japanese! Based on the classic Linux terminal game typespeed.
npm install
npm run dev
A learny game for getting faster at reading Japanese
Home Page: https://hayauchi.club
A learny game for getting faster at reading Japanese! Based on the classic Linux terminal game typespeed.
npm install
npm run dev
So people don't put random mean things in there. Can probably use https://www.npmjs.com/package/bad-words
The main menu should look like somewhat the original typespeed and allow choosing one wordset from a list
The other settings (sound etc) can go in a separate menu. Only doing one wordset per game simplifies things, and means we can separate the leaderboard for each (it doesn't make much sense that kanji and hiragana players are on the same score list right now).
Should contain a link to the github repo and some other jp learning resources
"kanaspeed" isn't quite accurate since it does kanji now too. We probably want something derived from related japanese words for speed or typing or such
So that you can learn the ones that have a strange spelling
Need to find and incorporate a list of commonly-used hiragana-only words!
I think it'd be cute if an occasional word shows up that is more challenging than the others, gives extra points (maybe clears the whole screen if you get it?), and looks fancy somehow. We could perhaps use a pixi.js filter https://github.com/pixijs/filters
From Reddit: "I like the practice, but I also sometimes want to decide how long I'll be practicing."
The traditional typespeed end condition is a survival one (keep going until you miss 10 words). But, this means the duration of the game is somewhat intimidatingly indeterministic.
We could solve this by adding a "speedrun" mode where the goal is simply to complete a certain number of words as quickly as you can. This also has clearer scoring potential (the highest rank is just whoever completed it fastest).
Or possibly a "complete as many words as you can in x minutes" mode-- that'd be even more deterministic!
Users shouldn't be able to edit/delete other people's entries from the leaderboard, only add new ones
After finishing a game, ask player for their name and then record/show their position in the global leaderboard for that game mode. I think we can use Firebase anon auth and Cloud Firestore for this. Probably need a basic profanity filter for the names
There are various edge cases we want to handle carefully there
On mobile it should probably just show a thing like "you kinda need a physical keyboard, sorry"
Might make sense for it to work on ipad though
Give players a hint mode they can use that shows the romaji of all words currently on screen, limited by a cooldown or a number of uses or such
I think the same basic structure should also be useful for practicing words with kanji, not just kana. Need to figure out what wanikani is doing to get the readings there and reproduce it
Show hints feature doesn't work as intended on Firefox as releasing shift doesn't deactivate the hints as intended.
Requested by a couple of people on Reddit https://www.reddit.com/r/japanese/comments/nxusmx/i_made_a_typing_game_to_practice_reading/h3yq4rv/?utm_source=reddit&utm_medium=web2x&context=3
Serialize to localStorage
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.