Welcome to Certabo forum

Both posts in italian and in english are accepted on the forum to help everybody to provide contribution irrespective to geographical location. Object of the forum is to provide technical information on various items and help developer and users to personalise software for Certabo chessboards. User explicitly accepts the conditions of use of this forum here reported.

A brief introduction of user is always appreciated in section Welcome to….

Benvenuti nel forum di Certabo

Sul forum possono essere postati articoli sia in lingua italiana che inglese per permettere a tutti di dare il proprio contributo da diversi luoghi geografici. Il forum ha come scopo fornire informazioni tecniche in generale e aiutare gli sviluppatori ed utenti a personalizzare software per le scacchiere Certabo. L’utente accetta esplicitamente le condizioni del presente forum consultabili qui.

Un breve saluto del nuovo utente è sempre gradito nella sezione Benvenuti a….

Please or Register to create posts and topics.

Python source code

Hello,

where is the Python source code ? In the download Link is no source code. You habe say, the source code ist GPL and available.

My certabo board comes today, but i have no Python source code.

Github ?  A download link ?

My englisch is not good. I hope you understande me. I am from germany.

Rudolf

Hello Rudolf

Thank you very much for joining Certabo community normally we send source code on request but we took a chance and we made proper repository you can find here : https://github.com/CERTABO

Please fell free to cooperate and contribute you can eventually make new branches with your trials.

Thanks for your support and all the best

Pietro

Hi Pietro

It doesn't look like the repository has been updated for a while. The compiling.txt instructions also miss a number of libraries needed i.e. chess which I assume comes from the python-chess librbary.

If the python-chess library is required then this leads to other issues since only Python 3.5.3+ is supported and not 2.x. The reason I mention this is that the Queue library (used in a number of the source files) changes to queue in versions 3.x and so some code needs updating to be 3.x compliant.

I just want to say that I am not a devloper / programmer and so my apologies if I have said anything silly in the above.

Thank you and best regards.

Mark

 

 

 

 

Quote from ajaxuk on July 28, 2019, 9:06 am

Hi Pietro

It doesn't look like the repository has been updated for a while. The compiling.txt instructions also miss a number of libraries needed i.e. chess which I assume comes from the python-chess librbary.

If the python-chess library is required then this leads to other issues since only Python 3.5.3+ is supported and not 2.x. The reason I mention this is that the Queue library (used in a number of the source files) changes to queue in versions 3.x and so some code needs updating to be 3.x compliant.

I just want to say that I am not a devloper / programmer and so my apologies if I have said anything silly in the above.

Thank you and best regards.

Mark

 

 

 

 

Hi Mark

Thank you for your message and note, yes you are right we have some release already gone and will update the github the latest 2,9 version soon in next days (as the current is bit outdated) will ping here as soon as we've done it and will add some compiling instructions too. Anyhow else if you are not developer you know a lot 🙂 Yes you need some libraries to be installed via pip and will write in the instruction for benefit of everybody. You need python-chess but also some other, here a summary which will report on github. If you do not have pip installer you have to install it before

sudo pip install pygame #now should be already satisfied by default
sudo pip install pystockfish
sudo pip install pyinstaller #if you want to make executable
sudo pip install win32com #now should be already satisfied by default
sudo pip install pyserial
sudo pip install python-chess==0.23.11
sudo pip install appdirs # for saving calibration file and .pgn
sudo pip install requests #

after that just "python run.py" to start the game.

The sw is cross platform so should run on PC Unix , PI and Mac if you run as source (but remember to copy the correct chess engines for the hw you are using and eventually "chmod +x engine_name" for unix otherwise you won't see the exectutable in engine menu selection

As for version the current release is done with Python 2,7 (if you use on PC you can install 2.7.13 which has pip installer built in) as when we started it was best/reliable choice, we are working on upgrading to pyhton 3 among other things and  we will upgrade the whole package to Python 3 in next coming weeks/months.

All the best

Pietro

 

 

 

 

Hi Pietro

Thanks for the reply, I got the source compiled and running fine after a bit of tweaking, now just waiting for my Board to arrive 🙂

Looking forward to v2.9!

Mark

Quote from ajaxuk on July 29, 2019, 3:31 pm

Hi Pietro

Thanks for the reply, I got the source compiled and running fine after a bit of tweaking, now just waiting for my Board to arrive 🙂

Looking forward to v2.9!

Mark

Hello Mark and everybody

Now you will find the most updated 2.9 version on Github this version has some general improvements and can use opening books. What you need to do like for engines just drop the .bin opening book files in the books directory (you may need to create the books directory in main root). Any polyglot book is supported . You can download famous Cerbellum from here https://zipproth.com/Brainfish/download/

We also added a modding possibility instead running python run.py just do python run.py --max-depth xx where xx is a number 50 or 60 or 100 or whatever you like theoretically can put any number This will launch a version with very high limit on depth so you will see as max depth  the value you stated  and you can then select it. Will make a binary for this last version for all platform and put on our website too.

Note: when running at higher depth it will take very very long time for hardware output so unless you have powerful pc you can get annoyed 🙂 .......

Enjoy

Pietro

Hello,

2.9 only with password  ??????????????????????????????????????????????????????????????????????

Quote from rudolf-kraemer on August 19, 2019, 2:07 pm

Hello,

2.9 only with password  ??????????????????????????????????????????????????????????????????????

Hi Rudolf

You can download freerly from Git-hub it has been updated to 2.9 already if you need/want to access via ssh the PI microsd image directly the user and password is the default one PI one.

User: pi

Password raspberry

All the best

Pietro

Quote from rudolf-kraemer on August 19, 2019, 2:07 pm

Hello,

2.9 only with password  ??????????????????????????????????????????????????????????????????????

Hi again Rudolf &  everybody

The download link was by error pointing to our private ftp servers  and not https.

Now the download link has been fixed.

Thank you for your spotting it out!

All the best

Pietro