Dear anyone,
Your duolingo forum registration isn't automaticaly transferred to duome forum so in order to join duome forums you need to register with your existing or any other username and email; in any case it's advised that you choose a new password for the forum.
~ Duome Team

Chinese typing game

Moderator: PtolemysXX

bubness
Great Britain

Chinese typing game

Post by bubness »

I have been working on this JavaScript game and thought I might be able to get some feedback on it here, keep in mind I have been using JavaScript for like 2 weeks and have no idea (at the moment) how to make this website/game available to others outside of sharing all the files.

So the game is essentially falling Chinese Hanzi characters and there's a textbox where you input text in Chinese and after hitting enter it will compare to all text blocks on the screen and if it's correct you get a point and that word disappears: https://gyazo.com/adad4ef0c5f300c50476bdc93b771ce9 (current state of the game)

It is currently linked to a 2500 Hanzi word database (HSK 1-5) with pinyin and English definitions and the game can randomize spawns depending on set chosen (0-149 = all HSK 1 words for example) so my plan is to make 100 levels using varying game backgrounds like these: https://twistedsifter.com/wp-content/up ... nds-18.gif
https://twistedsifter.com/wp-content/up ... nds-25.gif
https://i.pinimg.com/originals/ff/6f/13 ... 0ca4dd.gif

Since the game is running off a database and potentially running off 25 words/level you could edit the database words with say Japanese characters or Korean etc and the input text field is just a comparison so if the text in the database is the same as you enter it will work the same as it does for Chinese.

The point of this post is for any feedback on the game, likes/dislikes, interest? suggestions? I personally will continue developing it for my own personal use since I am currently between HSK 3 and 4 so would be a good addition to recognising Chinese characters.

Edit: Update on current status https://share.vidyard.com/watch/gveS4KPtcJkQoTkeDEcXGU?

Last edited by bubness on Mon Jul 04, 2022 6:42 pm, edited 1 time in total.
Zimozie
Finland

Re: Chinese typing game

Post by Zimozie »

Looks like you've been working on this years. ;) Is it the HSK 2.0 version? I would love to try that game.

🇫🇮 native, 🇺🇲 C1-B2, 🇫🇷🇮🇱🇸🇪 B2-B1, 🇪🇸 B1-A2, 🇯🇴🇪🇪🇳🇴A2-A1, 🇷🇺🇺🇦🇬🇷🇨🇳 A1
Duolingo profile: https://duome.eu/zimozie77

bubness
Great Britain

Re: Chinese typing game

Post by bubness »

Zimozie wrote: Sun Jul 03, 2022 4:58 am

Looks like you've been working on this years. ;) Is it the HSK 2.0 version? I would love to try that game.

this is the HSK 2.0 version, should be able to alter it pretty quickly to any version or any database of hanzi/characters - pinyin(or equivalent)-english though so wouldnt matter too much. I'd share but the code is terrible and you'de need to know how to setup your own localhost to run the php files since its linking to a database

bubness
Great Britain

Re: Chinese typing game

Post by bubness »

Update 2: current status on the game https://share.vidyard.com/watch/6ojo5ovKjby55dZup9PV3Y

Video starts by showing the backend database thats being updated as user inputs correct words (updated per word so goes through even if you leave midgame) and also showing level score being incremented after a win

bubness
Great Britain

Re: Chinese typing game

Post by bubness »

Update 3: Added in a heat scoreboard https://share.vidyard.com/watch/d6JfiCEvZGroSEtYten6eK?

Score of the word is incremented by 1 every time you get it correct in the game above

When the score for that word is 0 its grey coloured, at score 1 it turns red then as the score increases it gradually changes colour from red to yellow to green, so as you get the word right more times the better the colour. At score 20+ it gets an animation which is the highest measured score.

On hover over it shows the pinyin of the word and on-click it pops up a box showing the Hanzi, Pinyin, English of the word aswell as your score and what level the word can be found in.

This is realy useful to see which words you're slacking on and also where to find that word in the game as well as its meaning etc, this is all auto-generated using a loop through a database so if your database (basically spreadsheet) has Japanese/romaji/English as columns this scoreboard would auto generate all the words buttons/pop-ups etc it should work for any language combination assuming theres a romanized version for the language to show on hovers

Post Reply

Return to “Resources”