GithubHelp home page GithubHelp logo

pearooxd / typingtest Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16.88 MB

Dominik WPM tesztje!!!

Home Page: https://pearoo.dev/

License: GNU General Public License v3.0

Python 100.00%
magyar typing typing-game typing-practice typing-test wpm

typingtest's Introduction

✨ Dominik WPM tesztje (kawaii & uwu certified)

Futtatás

python3 -m pip install --upgrade customtkinter
git clone https://github.com/PearooXD/typingtest.git
cd src
python3 typingtest.py

azért nem használunk sima tkinter-t, mert az bűnronda

Töltsük le a Montserrat.ttf betűtípust is, ha lehet, mert az alap betűtípussal csúnya a GUI.

A futtatáshoz MINIMUM Python 3.9 szükséges a .removesuffix beépített függvény miatt, ha kisebb a verzió, írd át arra, hogy .replace("\r", "")

💻 A játék lényege

Majdnem az összes magyar szó le van írva a words.txt fájlban, és a játék onnan választ 5 random szót. vagy szavat idk nem tudok ragozni Neked le kell írnod az 5 szót, és a program hihetetlenül jó matematikával kiszámítja neked, hogy mennyi a WPM-ed, azaz words per minute-öd, azaz szó per perced. Ez igazából csak egy lehetőség arra, hogy flexelj a haverjaidnak, mekkora jó Discord mod vagy, és milyen gyorsan írsz.

Az átlag WPM ~40, ha annál több vagy, certified moderátor badge-et kapsz (de csak tiszteletbelit, mert már nem akartam beleírni a kódba, hogy kiírja, hogy certified moderátor vagy)

🔣 Speciális karakterek

Mivel a tkinter egy nagyon jó könyvtár (nem) és a Python minden nyelvre és szövegbevitelre odafigyel (szintén nem), nincsenek olyan szavak a words.txt-ben, amiben van ő vagy ű karakterek. Ez azért van, mert a tkinter a bemeneti mezőkben valami miatt automatikusan kicseréli az ő betűt õ-re, és az ű betűt û-re. Ezért imádok magyar lenni, a másik kedvencem, amikor nem írják bele az ő-t meg az ű-t a betűtípusokba, és amúgy a nagymamák meg azzal készítik a szülinapi meghívókat, és olyan jókat tudok nevetni rajta.

typingtest's People

Contributors

pearooxd avatar

Stargazers

 avatar

Watchers

 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.