Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.11 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.11 KB

TYPERACER-BOT

A simple bot for https://www.typeracer.com/ made for fun. The account it runs on: https://data.typeracer.com/pit/profile?user=thetyperacerbot

Setup

Just run

python -m pip install -r requirements.txt
python typeracer_setup.py

Running

python typeracer_bot.py

How it works

Normal runtime

typeracer_bot uses the Selenium WebDriver to access TypeRacer. It looks at the text on the page and types it into the input box.

Captchas

Captchas on this particular website are quite annoying and difficult to deal with (that is their entire point). typeracer_bot first pre-processes the image by removing the black lines over the captcha, then it solves the captcha using Tesseract. Tesseract reaches an acurracy of about 80%-90% most of the time, so don't expect the captcha to be solved immediately. It may take some time.

Results

Best so far: 433 WPM without getting banned Leaderboard