All Projects → kochsebastian → ChessVisionBot

kochsebastian / ChessVisionBot

Licence: GPL-3.0 license
Chessbot using computer vision to play on any chess website

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ChessVisionBot

Walleye
A chess engine written from scratch in Rust ♞
Stars: ✭ 82 (+156.25%)
Mutual labels:  chess, chess-ai
Batch-First
A JIT compiled chess engine which traverses the search tree in batches in a best-first manner, allowing for neural network batching, asynchronous GPU use, and vectorized CPU computations.
Stars: ✭ 27 (-15.62%)
Mutual labels:  chess, chess-ai
Sunfish
Sunfish: a Python Chess Engine in 111 lines of code
Stars: ✭ 2,254 (+6943.75%)
Mutual labels:  chess, chess-ai
Bit-Genie
UCI chess engine in C++
Stars: ✭ 19 (-40.62%)
Mutual labels:  chess, chess-ai
fastchess
Predicts the best chess move with 27.5% accuracy by a single matrix multiplication
Stars: ✭ 75 (+134.38%)
Mutual labels:  chess, chess-ai
php-grandmaster
Chess engine written in PHP
Stars: ✭ 100 (+212.5%)
Mutual labels:  chess-ai
chess.ts
A Typescript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection
Stars: ✭ 19 (-40.62%)
Mutual labels:  chess
OpenChess
A cross-platform chess game.
Stars: ✭ 18 (-43.75%)
Mutual labels:  chess
syzygy-tables.info
User interface and public API for probing Syzygy endgame tablebases
Stars: ✭ 49 (+53.13%)
Mutual labels:  chess
realtimechess
In Real-time Chess (or Kung-Fu Chess, Ninja Chess), all pieces can be moved simultaneously!
Stars: ✭ 16 (-50%)
Mutual labels:  chess
Realtime-OpenCV-Chess
♔ Chess-playing with Open-CV [Human vs AI (Stockfish engine)]
Stars: ✭ 18 (-43.75%)
Mutual labels:  chess
renpy-chess
A chess GUI built with Ren'Py, python-chess, and Stockfish. Version 2.0 of https://github.com/RuolinZheng08/renpy-chess-engine
Stars: ✭ 36 (+12.5%)
Mutual labels:  chess
shakmaty-syzygy
A Rust library to probe Syzygy endgame tablebases
Stars: ✭ 14 (-56.25%)
Mutual labels:  chess
TrulyQuantumChess
A game of truly quantum chess, with interference, entanglement, etc.
Stars: ✭ 77 (+140.63%)
Mutual labels:  chess
ChessLiteGUI
A lightweight Chess GUI for playing Chess on a personal computer.
Stars: ✭ 2 (-93.75%)
Mutual labels:  chess
rustic
Rustic is a chess engine. It is written from scratch, in the Rust programming language.
Stars: ✭ 68 (+112.5%)
Mutual labels:  chess
chessbot
Slack bot for playing chess.
Stars: ✭ 32 (+0%)
Mutual labels:  chess
ssh-chess
Chess over a ssh connection
Stars: ✭ 13 (-59.37%)
Mutual labels:  chess
FDChessboardView
An iOS / Mac view controller for chess boards
Stars: ✭ 75 (+134.38%)
Mutual labels:  chess
jerry
Jerry - Chess Program
Stars: ✭ 79 (+146.88%)
Mutual labels:  chess

ChessVisionBot

The ChessVisionBot uses computer vision to detect a 2D chessboard on the screen. It detects played moves by the opponent and calculates the best response given a certain time to calculate. The ChessVisionBot is then able to move the mouse and execute the calculated move.
Thanks to the Stockfish-Engine it is able to play at a very high rating with quick movetimes.
Do not use this chessbot to play against a real human!

Playing Chess

ChessVisionBot vs Victoria on Chess24
(3 minute time control, ~1700 rating)
ChessVisionBot vs. Chess.com Computer Level 10
(unlimited time, ~2600 rating)
Computer Vision based Chess-Bot wins against Victoria on Chess24 Computer Vision based Chess-Bot wins against Chess.com Computer Level 10 (~2600 rating)
https://www.youtube.com/watch?v=z9LSJM55Tng https://www.youtube.com/watch?v=1aTEesXdODc

Solving Tactics

ChessVisionBot solves unknown Tactics on Chess.com
Computer Vision based Chess-Bot solves 25 random Chess-Tactics in a row
https://youtu.be/L6hSxr5kzo4

How to set-up and use

I won't publish a how to install instructions because I want to prevent non programmers to just use this project to cheat on chess websites. My intend with that project is combine computer vision and machine learning with chess and to learn something about every of these aspects.
For a programmer who has the same intentions installation and setting up the environment isn't that hard even though I provide no instructions. The project is only tested on a Mac environment so there may be some compablility problems but I guess nothing impossible to fix.
Feel free to edit the code as you like. If you want to contribute your changes I happily await your Pull Request.

Notice

Tensorflow has moved on from Tensorflow 1.0 and has exciting new functionalities with Tensorflow 2.0. Unfortunately, the current Tensorflow code is not compatible with Tensorflow 2.0 and unfortunately I lack the time to convert the code to the current Tensorflow syntax. I'm looking forward to a Pull Request from the community to update the old Tensorflow code, maybe even migrate the code to PyTorch.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].