Skip to content

A chess assistant that uses computer vision to calculate the best moves

Notifications You must be signed in to change notification settings

timmermansjoy/Chess-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI2 Chess Assistant

Run all tests made-with-python

About

This project helps you with the help of computer vision and Ai with the optimal move to make in chess

Requirements

To use this project it is required to install the dependencies with

pip install -e .

For develoment it is required to run.

pip install -e ".[development]"

If that doesnt work use pip3 this is because you also have python 2 installed

Docker

You can use your own way of running containers. My personal methon is

docker-compose up
docker-compose run python

and then just use python inside the container

Advise

When developing in python it is best to create a virtual environment. to do this, run:

python3 -m venv .venv

this creates a .venv directory in your project. VScode will prompt you if you want to use this environment already. To use this environment in the terminal you have to use . .venv/bin/activate and to leave this enviorment just type deactivate

To have less clutter in your project you can remove the .pyc files and move them to another place in python versions > 3.8 Add this to your .bashrc file

 export PYTHONPYCACHEPREFIX="$HOME/.cache/pycache/"

Docker

  • Start noetic-docker container
[terminal 1] $ roscore
[terminal 2] $ rosrun abstraction window.py
[terminal 3] ~/Data/bags$ rosbag play demo.bag

About

A chess assistant that uses computer vision to calculate the best moves

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published