Giter Club home page Giter Club logo

kanjigame-python's Introduction

Kanji game

An educational game to practice kanji-based Japanese words.

Screenshot

Why ?

Japanese kanjis are notoriously hard to learn. In order to master them, a lot of practice is inevitable.

Among kanji-based words, compound words of Chinese origin have a lot of homonyms, which can make them hard to memorize. Here is an example:

大綱 taikou—a large rope;
対抗 taikou—opposition;
大公 taikou—an archduke;
対向 taikou—the opposite direction;
退校 taikou—expulsion from school;
体腔 taikou—body cavity

This game was designed to help Japanese language learners practice those words in a fun way !

How to install

Install Japanese fonts on your system. Instructions can be found here.

Use the following installation procedure for Debian/Ubuntu:

Install Python, PIP and required dependencies:

sudo apt-get install python3-dev python3-pip
python3 -m pip install -r requirements.txt --user

Run the following script to download the dictionary files and import them

./download_dicts.sh

Run the game:

python3 -m kanjigame

Game rules

The goal is to find words composed of kanjis and matching a kanji given by the game.

Type a word matching a kanji, before the timer runs out, to score some points. A new kanji is then drawn, considering the kanji level you aim for (school grades of 常用漢字).

If the timer runs out or your answer is invalid, you will lose one life (心). After this, you may get an automatically generated answer to move on to a new kanji.

To get the best score, try to make a "chain", for example 仕事, 事故, 故障, ... This will increase the kanji combo multiplier !

kanjigame-python's People

Contributors

didmar avatar

Stargazers

 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.