Re: Picochess Version 1.0 finally released!

257 views
Skip to first unread message
Message has been deleted

Shivkumar Shivaji

unread,
Dec 17, 2018, 1:32:41 PM12/17/18
to pico...@googlegroups.com
Images are not viewable in this email. Can you reattach them?



On Mon, Dec 17, 2018 at 10:29 AM 'Dirk' via PicoChess <pico...@googlegroups.com> wrote:
Picochess Version 1.0 finally released!

II hope you don’t mind that I try to bring this forum back to life with this clickbait headline ;-)

Sorry to disappoint you but there is no official free Picochess 1.0 version yet (for newer versions you can join Jürgens’ picochess club).

I am still enjoying and using my -in the meantime upgraded to RASP 3B+ - limited edition DGTPI with picochess more than ever.


IMG_0053.jpeg

Show me one chess computer (or even Android chess app with DGT support ;-) which offers engines like the original TuroChamp paper engine, Bernstein - the very first running computer program, Konrad Zuses Plankalkül or even  Leela side by side on one system.

IMG_4224.jpeg

IMG_4220.jpeg

 If you like old historic engines/chess computers like me, see my posting below about SARGON…

And with my new flexible ponder mode you can analyze positions and variants even more directly and easily than with any other chess computer I think (the good old TASC R30 chess computer offered similar analysis options).


Personal Picochess 1.0 Release


What I actually did is creating a personal 1.0 release for my own pleasure trying to enhance some of the things which really have bothered me since some time and still bother me in version 0.9N.

Maybe your are interested in these enhancements as well so I thought I would share my changes - but I take no responsibility for damaging your Raspberry Pi or DGTPI if you use any of these modifications ;-)

By the way 0.9N in general is a very good working Picochess version - so no need to really change something if you are happy with it.

I just have learned Python some months ago and although I still don’t understand the picochess code  in all details and although I am not a really good python programmer at all I have changed the following things:

Smaller enhancements:

  • Voice move announcements even if remaining time is less than 1 minute
  • Possibility to continue playing even if computer or player runs out of time
  • Bugfix for the original remote function (without the room/nickname handling): Now remote mode works again by simply switching to remote mode on the DGTPi/clock and playing against an opponent via the webserver (if you forward the port (8080) in your router you can even play via internet - I have checked this and It works perfectly. 


IMG_4228.jpeg
Just enter the remote mode on the clock/DGTPI and the opponent can enter his moves directly via the webserver:

IMG_4229.jpeg

Pasted Graphic.tiff

Webserver move is transferred to the clock and displayed like the answer move of the engine. 

IMG_4230.jpeg

Bigger enhancements:

  • Fast moves/Pre-Move: Now you can play the engine move and your own move as fast as possible (even in the wrong sequence!) That was the main reason I started with these enhancements and with this enhancement I enjoy planing with my DGTPI even more!

Example:
Computer answers with move Nf6 which is displayed:

IMG_4234.jpeg

You can execute your answer move even before executing the computer move:

e5 played before Nf6
IMG_4235.jpeg

Picochess agrees ;-)

IMG_4242.jpeg

  • Flexible Ponder Mode (that was a tough one until it finally worked): Possibility to set up positions without pressing any buttons and doing moves independent if they are legal or not and possibility to change the side which should move next. Of course the resulting position itself must always be a legal one. By this one can analyze and quickly positions and different variations of a specific position (eg. You might ask what if it is the run of the other side (simply other side would be

IMG_4211.jpeg

Example:

Staring with start position and this (stockfish) evaluation:
IMG_4214.jpeg

Just remove the rock on h1 and wait&see what happens:

IMG_4215.jpeg

After having set up a position this way it could be necessary to change the player’s turn. That’s why I have implemented the Switching Turn function to the lever (it had no function at all in analysis modes) so that you can easily control who’s turn it is. 


  • A new historic engine: (Almost) Original SARGON chess program from 1978 (see P.S:)

IMG_4219.jpeg


Here is the github repository  where you can download all my changes (actually it is a copy of the 0.9N version plus my enhancements)


Files to update (just copy/rename your original files and replace these with the following 3 files):

  • in /opt/picochess:        picochess.py, utilities.py
  • In /opt/picochess/dgt: menu.py

At the moment I won’t publish the changes to the original picochess master branch because these are personal enhancements which can not be switched off and not all users might be happy with these changes.



Enjoy the holidays & with picochess and I wish you all a happy new year!
Dirk



P.S. A litte Xmas gift:

A blast from the past: New historic engine for picochess: SARGON (1978)


Would you like to play against the original SARGON chess program written by Kathe & Dan Spracklen in 1978 on your picochess computer?

Now you can.

Somebody (converted the original assembler code to the Lua language (similar to python), see https://github.com/Chessforeva/Lua4chess

Like I have posted the way to include python engines we are also able to include Lua chess engines.
Just copy the file sargon_uci.lua to the engine directory and create a symbolic link with name sargon_uci to it (see my posting for adding python engines but you don’t need to copy/clone the whole Lua chess reporsitory). Furthermore you need the sargon.uci file as well which you have to create manually, see below. 

Of course the original code did not know anything about uci so together with the help of Martin (author of the PyTuroChamp  engine/Github project, see https://github.com/mdoege/PyTuroChamp ) we have written a uci wrapper for the  original engines: sargon_uci.lua in Github repository https://github.com/tosca07/Lua4chess

It was very difficult because the original engine has no FEN string handling at all. Nevertheless I tried to even add simple (just one move) take back functionality bit of course because of the missing FEN handling you can’t set up a position and pondering/brain is also not possible. 
But for a straight forward game it’s perfect and really fun to play with (even though it is not strong at all at the original level).


sargon.uci

[Original]
Plymax = 2
NoBook = FALSE
NoRandom = FALSE

[1 - Level]
Plymax = 1
NoBook = FALSE
NoRandom = FALSE

[2 - Level]
Plymax = 2
NoBook = FALSE
NoRandom = FALSE

[3 - Level]
Plymax = 3
NoBook = FALSE
NoRandom = FALSE

[4 - Level]
Plymax = 4
NoBook = FALSE
NoRandom = FALSE

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages