Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carsonslovoka/typing-game
This is a set of typing-game.
https://github.com/carsonslovoka/typing-game
Last synced: 7 days ago
JSON representation
This is a set of typing-game.
- Host: GitHub
- URL: https://github.com/carsonslovoka/typing-game
- Owner: CarsonSlovoka
- License: mit
- Created: 2020-05-26T08:34:52.000Z (over 4 years ago)
- Default Branch: release
- Last Pushed: 2020-06-19T10:34:05.000Z (over 4 years ago)
- Last Synced: 2024-08-09T12:19:29.187Z (3 months ago)
- Language: Python
- Size: 6.48 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. raw:: html
==================
Typing Game
==================This is a set of typing-game.
Install
============``pip install typing-game``
USAGE
------open the command line:
``typing-game config.py``
.. note::
**conf.py** is defined by yourself. About the contents of ``config.py``, please see `here `_.
an example of conf.py:
.. code-block:: python
from pathlib import Path
__this_dir__ = Path(str(Path('.').parent.absolute())) # do not use the __file__
# TypingDropDown
DROPDOWN_TXT = __this_dir__ / Path('words.txt') # r"C:\\...\words.txt"# TypingArticle
ARTICLE_DIR = __this_dir__ / Path('article') # The files in which is you want to type.WIDTH, HEIGHT = (1600, 600)
.. uml::
@startmindmap
*[#Orange] "C:/temp"
**_ words.txt
** article
***_ 1.basic.txt
***_ 2.level2.txt
***_ 100.language.py@endmindmap
.. note::
Each file on the articles, which name should start with a number and use the dot to split the name.
The file extension can be in any format, not limited to text files.
DEMO
==========.. image:: https://raw.githubusercontent.com/CarsonSlovoka/typing-game/master/typing_game/_static/demo/home.png
.. image:: https://raw.githubusercontent.com/CarsonSlovoka/typing-game/master/typing_game/_static/demo/dropdown.png
.. image:: https://raw.githubusercontent.com/CarsonSlovoka/typing-game/master/typing_game/_static/demo/stage.png
.. image:: https://raw.githubusercontent.com/CarsonSlovoka/typing-game/master/typing_game/_static/demo/article.pngContributing
===============If you want to contribute, please use **release**\'s branch as the main branch,
The **master** branch is just purely used to create a GitHub page.Be sure to **write tests** for new features. If you have any difficulties, you can ask me or discuss with me. I am glad if you want to join us.
By the way, I'm very friendly!
More
===========See the `documentation `_