Coder Social home page Coder Social logo

typingrace-nabiraem-bot's Introduction

typingrace-nabiraem-bot

A bot for typingrace.nabiraem.ru game competition on fast typing.

Python 3.x only (for Python 2.x backward compatibility see this).

Supports only English and Russian keyboard languages.

Installation & Usage

  1. Use pip install -r requirements.txt to install all dependencies. If you are a Linux user, you may experience issues with pyautogui. See pyautogui docs for installation details.
  2. Configure constants.py file:
  • Set TEXT_LANGUAGE, BUTTON, RACES, INTERVAL game constants.

  • Set game elements' coordinates and pixels' RGB colors according to your screen resolution, OS and browser. pyautogui.displayMousePosition() function could be of great help to deal with that. Also, see Images directory for some help on finding the game elements' regions.

  1. Feel free to experiment with setting different values to the INTERVAL constant to adjust typing speed.

  2. To interrupt the program and regain control of the mouse, move the mouse to the top-left corner of your screen.

  3. Have some fun winning races with incredible scores!

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.