Open tutaj123 opened 3 years ago
Follow this guidelines:
1) Open up a game while logged in to lichess (Playing as anonymous will change the board size and mess everything Also it's only tested on chrome and on 100% zoom while logged in). 2) During the freeze time open up the program choose your starting color. And alt+tab back to the browser (Don't use your mouse). Keep in mind that your mouse clicks from that moment matters. So play like that: 1 click represent the from cell and 1 click represent the to cell when it's your turn. No dragging pieces. No checking youtube for a second It will mess everything and the program will crash
Keep in mind that lichess would most definitely ban you for using this against real players. So I suggest you to test against bots to learn in the process.
Thanks, but I'm having problems with changing the path to the stockfish engine exe file. Could you tell me how to do it?
There are 9 warnings. I'm also unable to run the program. The warnings are: unresolved import for: win32api, pygame, pyautogui, numpy, stockfish, pynput.mouse.
Did you installed the requirements?
Oh, wait. It says "Use pip install -r requirements.txt". Wait a moment
Ok, I've just installed all the requirements. There are no warnings now. Could you tell me where and how should I run the code?
Oh, wait. There's one problem.
import cv2, win32gui, win32con, win32api, pygame, os ModuleNotFoundError: No module named 'cv2'
When I run the code, CMD appears and that's what it says.
Oh, wait. There's one problem.
import cv2, win32gui, win32con, win32api, pygame, os ModuleNotFoundError: No module named 'cv2'
When I run the code, CMD appears and that's what it says.
One of the requirements is opencv-python which is the module cv2. So you didn't installed that one. Check which python version you are using. I only tested it on python 3.7.7 And don't use any IDE such as PyCharm.
I'm guessing you are a beginner at python and that is ok to learn. But if you came only to cheat you'll have a hard time making this project work because it ain't finish yet.
And honestly I lack the will to make it user-friendly. So non-programmers won't exploit an easy to use cheat.
Hello. Sorry to bother you but I don't have any idea how to run this program. Could you help me with that and guide me step by step?