Picochess 3.1 now supporting new eBoard type...

398 views
Skip to first unread message

Dirk

unread,
Jan 30, 2023, 8:23:49 AM1/30/23
to PicoChess

Which new eBoard (not only Gerhard would ask)?

You might be surprised … see for yourself ;-)

PicoWeb.noeboardWeb-play.jpg

https://www.dropbox.com/s/gq8xws4dsh9uccp/picochess_webplay_with_no_eboard.MOV?dl=0


Dirk (the other one;-)

christopher stummer

unread,
Jan 30, 2023, 8:43:31 AM1/30/23
to pico...@googlegroups.com
Hi Dirk, 
Hope you are doing well. Very cool! Where can I download the 3.1 img for RPI3?
Chris

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/d7088e79-606a-4e7a-9da5-70a12102f55cn%40googlegroups.com.

Randy Reade

unread,
Jan 30, 2023, 9:10:00 AM1/30/23
to pico...@googlegroups.com
Great enhancement, Dirk!

Randy

--

Randy Reade

unread,
Jan 30, 2023, 9:15:58 AM1/30/23
to pico...@googlegroups.com
One suggestion: reset the square highlights when starting a new game. 🙂

Randy

On Mon, Jan 30, 2023, 7:23 a.m. 'Dirk' via PicoChess <pico...@googlegroups.com> wrote:
--

Dirk

unread,
Jan 30, 2023, 9:22:41 AM1/30/23
to pico...@googlegroups.com

Hi Randy,

unfortunately I don't know how to do this (the removeHightlights function in app.js obviously does not do this (only the arrows will be deleted). 

Besides of this I would like to highlight the squares after the computer move so that one can see the last move for the player who just played a move (like on chess.com etc.)  but I was also not able to do this as I don’t know javascript and html/web dev things very well.

Maybe someone can help...

Thanks
Dirk


Am 30.01.2023 um 15:09 schrieb Randy Reade <randy...@gmail.com>:

Great enhancement, Dirk!

Randy

On Mon, Jan 30, 2023, 7:23 a.m. 'Dirk' via PicoChess <pico...@googlegroups.com> wrote:

Which new eBoard (not only Gerhard would ask)?

You might be surprised … see for yourself ;-)

<PicoWeb.noeboardWeb-play.jpg>

https://www.dropbox.com/s/gq8xws4dsh9uccp/picochess_webplay_with_no_eboard.MOV?dl=0



Dirk (the other one;-)


-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/d7088e79-606a-4e7a-9da5-70a12102f55cn%40googlegroups.com.

-- 
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.

Dirk

unread,
Jan 30, 2023, 9:38:51 AM1/30/23
to PicoChess
Hi Chris,

I am fine, thanks (but I guess you had the other Dirk in mind!?)

No image yet - this is still under development and testing. But it will be published in Gerhards 3.1 repository on Github and then anybody who wats can create an image (so you must be patience and will wait for it).

Dirk  

Randy Reade

unread,
Jan 30, 2023, 10:07:36 AM1/30/23
to pico...@googlegroups.com
Yes, that would be nice to see as well.

Maybe the newBoard function?

Randy

christopher stummer

unread,
Jan 30, 2023, 10:59:40 AM1/30/23
to pico...@googlegroups.com
Understood will keep an eye out. Thanks for the guidance. 
Best,
Chris

--
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.

Dirk

unread,
Jan 31, 2023, 6:34:26 AM1/31/23
to PicoChess
Hi Randy,

the newBoard function is already called in case of a new game event and has unfortunately no effect on the colored squares.

So this refresh bug is actually an old one. You can test this even with the  Picochess  3.0 version of your current images: just try to move a piece, the squares will change color but the color won't be reseted after a new game event.

I still have no idea how to reset the colors or how to set the colors for the computer move :-(

Dirk

Randy Reade

unread,
Jan 31, 2023, 11:30:13 AM1/31/23
to pico...@googlegroups.com
Hi Dirk,

Yes. It was a poor guess on my part.  I see you can reload the page and then hit SYNC and the colors will reset (when using your v3 with a board). I wonder if you asked on the github/chessground site if someone would provide a quick answer, although PicoChess is using an old version (v7.2.4?).

Randy

On Tue, Jan 31, 2023 at 5:34 AM 'Dirk' via PicoChess <pico...@googlegroups.com> wrote:
Hi Randy,

Dirk

unread,
Feb 1, 2023, 8:25:06 AM2/1/23
to PicoChess
Thank you Randy for the github hint but once again ;-) Gerhard  was able to find a way to set/remove the highlighted squares.

I was now able to adjust the move square-highlight and arrow display the way I think it should be:

After the "NewGame" event it now looks clean (Bernie would be happy to see this ;-)
PicoChessWeb 1.jpg

The players move is highlighted as long as the Picochess has not answered:

PicoChessWeb 2.jpg
If you play with an eBoard the Picochess answer move is now displayed this way:


PicoChessWeb 3.jpg

If you play without an eBoard (or if you have executed the Picochess move), the arrow will vanish but the squares of the moves will still be highlighted like for the players move before:
PicoChessWeb 4.jpg

This highlighted squares are especially useful for playing without an eBoard because the Picochess move will be executed automatically - otherwise you could miss the move and just see the new position.

I you don't like the "highlighted" move squares you can just do a simple modification in the app.js file:

 app.js highlight_move.jpg

I am really happy with the web play now (although some features are still missing like the promotion in other pieces but the queen) but for developing & testing or a quick play it will be sufficient I think.

Thanks you so much Gerhard!
(this feature with some other enhancements will be soon published in Gerhard github repository...)

Dirk

Randy Reade

unread,
Feb 1, 2023, 10:40:26 AM2/1/23
to pico...@googlegroups.com
That's great news, Dirk. Many thanks to Gerhard for the continuing improvements. 

Randy

--
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.

gkalab

unread,
Feb 2, 2023, 11:16:16 AM2/2/23
to PicoChess
Thanks to both Dirks for providing images, lots of new features, bug fixes and unifying the branches.
Everything is now consolidated in the master branch: https://github.com/gkalab/picochess
I will remove all other branches that I've mentioned in the past as they are no longer needed.

Gerhard

Dieter

unread,
Feb 2, 2023, 2:03:29 PM2/2/23
to PicoChess
Many thanks to Gerhard K., Dirk M. and Dirk S. for all these great extensions. In the meantime I have used Gerhard's various branches and have therefore already been able to test a few things. In three words: I'm thrilled. Also the new feature to play with Picochess without a board is really great and makes it universal now.

Thanks again to everyone involved!

Greetings
Dieter

RandyR

unread,
Feb 7, 2023, 11:23:19 AM2/7/23
to PicoChess
Hi Dirk,

How do you start a new game when using Web-Play (no eboard)?

Randy

RandyR

unread,
Feb 7, 2023, 11:25:29 AM2/7/23
to PicoChess
Found it:

Game Setup / Start New Game (yes)

Randy

Reply all
Reply to author
Forward
Message has been deleted
0 new messages