Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : GNU Chess Reloaded


yokos
09-17-2007, 07:09 AM
[EDIT 2007/11/14] new version XBoard 4.2.7 iLiad 0.2 is out.
The most important new feature is: engine Phalanx with adjustable strength.
I have attached a screenshot showing that I checkmated Phalanx [easy level 100] in 13 moves. Phalanx with low strength plays real blunders , so beginners have a chance to win a match.
[EDIT 2007/11/08] Please wait for the new version. It should be out in a short period of time. I'm an inveterate optimist. :rolleyes:
Please read post #15 (http://www.mobileread.com/forums/showpost.php?p=113500&postcount=15):
# Features of coming version are described there
# Why the menu was working all the time, but nobody said something.
[EDIT 2007/09/22] I have tweaked the starting shell script of Xboard/GNU Chess a bit.
Please replace the new run.sh (http://projects.mobileread.com/iliad/users/yokos/run.sh) with the old one, you can find it here on your memory card:
Programs/gnuchess/run.sh
The new run.sh patches the following:
# autosaving of all your games in "_local/home/iLiad.pgn" on memory card
# no more path entering needed in load/save dialog, just type for example iLiad.pgn or 2.pgn
# highlighting of last move

design256 has ported GNU Chess (http://www.mobileread.com/forums/showthread.php?t=8472) ages ago. I have played it all the time. Thx, design256.

Well, my port doesn't solve the non-working menu, but we can now play the black side of world & use XBoard as a pgn-viewer. Colours of chess board were corrected, bad ghosting of old port is gone.[1]


[EDIT]: [1] "bad ghosting of old port is gone." Well, this could have been said by a PR-Manager.:smash:
I have set: -animateDragging false -animateMoving false
Some dmDisplay(dmCmdPriorUrgent, dmQFull); are needed to get rid of ghosting.
[EDIT II]: Yep, design256 added some dmDisplay(dmCmdPriorUrgent, dmQTyping); in src.

Right now my port lives w/o
#include <liberdm/erdm.h>
#include <liberipc/eripcbusyd.h>
#include <liberipc/eripc.h> I will change this. :book2:

[EDIT III]: Uhh, I found in design256's src how he got the chess board to the middle of the srceen. Right now it lies next to the left.

src can you find here (http://projects.mobileread.com/iliad/users/yokos/).
very OT. Yes, i have now a ftp account to upload files to MR. :knuddel:

explanation of screenshots:
#1 XBoard iLiad 0.1
#2 XBoard iLiad 0.1 with modded starting shell script. Dou you see the clock in/at/on* the top right corner & mouse cursor?
*=non-native Englisch speaker :p
#3 XBoard iLiad 0.2 with checkmated Phalanx [B][new screenshot]

[Readme pdf file is included in zip file.]

yokos
09-19-2007, 08:45 AM
I have uploaded a new version of GNU Chess.
24 MR have downloaded the previous version. Thx.

The GreatGonzo
09-20-2007, 10:06 AM
Erm ... is there any possibility at all of the new port doing weird things to the screen refresh in general???

Ever since I installed it last night, I'm getting sluggish refreshes, in ipdf as well as mobipocket ... also, refresh to black and back again where there wasn't before ... and a randomly appearing selection bar in the content lister.

Suggestions?

The GreatGonzo
09-20-2007, 10:12 AM
Also, every time I try to navigate to the /programs folder to uninstall gnuchess, the Iliad freezes. Oy!

Adam B.
09-20-2007, 11:14 AM
Did you install it to main memory or to an external card?

The GreatGonzo
09-20-2007, 11:44 AM
Did you install it to main memory or to an external card?

To main memory. Had done the same with the earlier version without any problems.

Adam B.
09-20-2007, 11:48 AM
That's the problem, if you delete the _local/lib/libX11.so.6 file and reboot, it should fix your refresh issues. I've made a new thread regarding this issue.

The GreatGonzo
09-20-2007, 11:58 AM
That's the problem, if you delete the _local/lib/libX11.so.0 file and reboot, it should fix your refresh issues.

Thanks Adam!

The only file I can see that almost fits that name is
libX11.so.6

Is that the correct one?

And just to be absolutely clear on this -

I can delete this file from Windows Explorer, right?
And then I wait for yokos to repackage gnuchess?

Adam B.
09-20-2007, 12:02 PM
Yes, Yes and Yes.

Sorry about that, I wasn't sure of the exact file name.

The GreatGonzo
09-20-2007, 12:17 PM
Problems solved, everything back to normal. Thanks again for taking the time to get this sorted for me - I'm attending an informal gathering at my child's school later today and was hoping for a lot of bored dads to be impressed with my Iliad....

Hey, I guess I just did some Unvoluntary Beta-Testing!

yokos
09-21-2007, 08:59 AM
I'm attending an informal gathering at my child's school later today and was hoping for a lot of bored dads to be impressed with my Iliad....


A [showing photos]: "my house, my swimming pool, my car...."
B: "I have an iLiad. Do you wanna have a look?"
A: [after some Ooo, aaaa] "Ok, you win. :D:D"

nekokami
09-21-2007, 09:31 AM
So... anyone know if we can get Go ported?

yokos
09-21-2007, 10:08 AM
So... anyone know if we can get Go ported?
Here are some Go games (http://debianlinux.net/games.html#go_games). The ones wich are written with GTK+ are hot candidates. :cool:
gtktetris, calcoo, gtkclock = GTK+

yokos
09-21-2007, 10:19 AM
I have tweaked the starting shell script of Xboard/GNU Chess a bit.
Please replace the new run.sh (http://projects.mobileread.com/iliad/users/yokos/run.sh) with the old one, you can find it here on your memory card:
Programs/gnuchess/run.sh

The new run.sh patches the following:
# autosaving of all your games in "_local/home/iLiad.pgn" on memory card
# no more path entering needed in load/save dialog, just type for example iLiad.pgn or 2.pgn
# highlighting of last move

yokos
11-08-2007, 07:09 AM
Yesterday I thought a while what to add/change on my XBoard port.
Why doesn't work the menu? I open a menu branch with stylus but can't click on a entry because the menu disappeared.
Oh man, sometimes I'm so stupid. :stupid: It's XBoard not GTKBoard. :smash:
The menu of XBoard behaves like all other X apps on the world!
Click on a menu branch and HOLD the left mouse key, move the mouse cursor to desireable entry and release left mouse key.
It's the same on iLIad:
# Click with stylus on menu brach & keep stylus on screen
# menu appears
# move stylus on desireable entry
# lift stylus

Please wait for a new XBoard version.
# state-of-the-art-installer [for all memories, stripped libraries]
# new chess engine Phalanx, which has got a adjustable strength
# Bug: some dialogs open as fullscreen dialog. I will be fixed.

screenshot: "About XBoard" with engine Phalanx

Gogolo
11-09-2007, 03:08 AM
new chess engine Phalanx, which has got a adjustable strength

Oh yes, please. :2thumbsup

GnuChess flors me all the time. :knife: OK I am a bad chess player...

Thanks for your work Yokos!
Olivier

dedo
11-09-2007, 05:29 AM
Yesterday I thought a while what to add/change on my XBoard port.
Why doesn't work the menu? I open a menu branch with stylus but can't click on a entry because the menu disappeared.
Oh man, sometimes I'm so stupid. :stupid: It's XBoard not GTKBoard. :smash:
The menu of XBoard behaves like all other X apps on the world!
Click on a menu branch and HOLD the left mouse key, move the mouse cursor to desireable entry and release left mouse key.
It's the same on iLIad:
# Click with stylus on menu brach & keep stylus on screen
# menu appears
# move stylus on desireable entry
# lift stylus

Please wait for a new XBoard version.
# state-of-the-art-installer [for all memories, stripped libraries]
# new chess engine Phalanx, which has got a adjustable strength
# Bug: some dialogs open as fullscreen dialog. I will be fixed.

screenshot: "About XBoard" with engine Phalanx
How did you port Phalanx? I tried to compile it with iRex SDK but it gave me an error like "unrecognized option -Qq" or something like that.

yokos
11-09-2007, 08:34 AM
How did you port Phalanx? I tried to compile it with iRex SDK but it gave me an error like "unrecognized option -Qq" or something like that.
I got another "unrecognized option" error of make.:rolleyes:
I have used the old known method "trial & error": I just removed the option which make doesn't like in the Makefile. I did work.
Well, I use the VMWare Image (http://www.mobileread.com/forums/showthread.php?t=10200) all the time.

Compiling with iRex SDk does work in general for you?
I have problems with Makefile of engines Crafty & Sjeng, too. :knife:

yokos
11-14-2007, 07:17 AM
Version 0.2 of XBoard is out. The most important new feature is the engine Phalanx, which has got a adjustable strength. :D
Four "easy levels" of Phalanx are included plus a shell script to set your own level of strength, you can control the schell script with iLiad's tagging tool.