Skip to content

World-record holding puzzle-solver for chesscup.org

Notifications You must be signed in to change notification settings

alexlwn123/Chesscup-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chesscup-hack

Demolishes my favorite chess site for puzzles: https://chesscup.org

Scrapes puzzle answers from browser state. Solver bot uses browser automation via Selenium.

Currently holds the All-Time #1 position in all modes: 3-minute, 5-minute, and survival mode.

Tweet: https://twitter.com/_AlexLewin/status/1673532600143560705

Usage

Clone the repo and install dependencies

git clone [email protected]:alexlwn123/Chesscup-hack.git
cd Chesscup-hack
npm i
cp sample.env .env

Create an account at chesscup.org and update .env

USERNAME=[email protected]
PASSWORD=examplePassword
MODE=2
CHROME_BINARY_PATH=/Applications/ExampleBrowserFile.app/Contents/MacOS/ExampleBrowser

Modes Legend

  • Mode 0 -> 3 minutes
  • Mode 1 -> 5 minutes
  • Mode 2 -> survival

Run the bot

npm run start

Note: I use MacOS and Brave browser. That's the only configuration I've tested. No guarentees this works with any other environment.


Leaderboards

image

image

image

Updated Survival Leaderboard (6/30/23) image

About

World-record holding puzzle-solver for chesscup.org

Topics

Resources

Stars

Watchers

Forks