This project aims to provide a simple program that, by simulating mouse clicks, can play entire matches on chess.com (www.chess.com).'s live chess section - particularly in Bullet mode. To do so, it recognizes hilighted squares.
This program is distributed under the Boost software license.
Note: The program can be terminated at any point by pressing F4.
Prerequisite: Enable both hilighted squares and automatic promotion to queens.
Run the executable and wait until the engine process is created, which is indicated in the console. By default, Rybka 2.3.2a (which is delivered with CheekyChess for both 32 and 64-bit) is used, but - if provided - the first command-line parameter is used instead as the path of the engine executable. Any UCI-compliant engine can be used.
Start a new game on chess.com (www.chess.com). Consider pressing F7 before you do this, as it may save you time if you are not certain about the cached coordinates. Note that if you play black, it's fine to press F8 after your opponent made the first move.
Press F7 and F8 while holding your mouse cursor at the top left and bottom right corners of chess.com's board, respectively. The coordinates are cached. Once you did this, and the boards absolute position has not changed, you can press F9 on the next run instead. It is recommended to cache the coordinates, in particular before a bullet game, where the clock starts running after a few seconds. (As cheeky as the program is, it'll beat every user with 50s on the clock at the beginning, anyway.)
Once your opponent resigned, got mated or ran out of time, the corresponding message box will appear on top of the board. The program will beep repetitively to indicate that the recognition fails. Ingore this and close the console using F4.
It is, and you are warned. Your account - regardless of whether you are a premium user or not - can be closed as a result of chess.com's cheating policies, and IP bans aren't uncommon either. Ingenuity is, to some extent, required to not let your opponent be aware of what you are doing.
Ask yourself why you're going so far to cheat, and whether it's fair towards the community.
Please be respectful towards both the sport and the users. Losing is part of every game. If you can't beat an opponent, then you can't. Unleashing Rybka on him is not helping you in any objective way imaginable, but solely demoralizes your opponent. Learn to loose, and you'll appreciate winning a good lot more.
Now that you're aware of all the danger and obnoxity involved, please do not press this button: