Personal tools
You are here: Home zindep's blog jouer aux echecs avec l'openmoko - play chess on openmoko

jouer aux echecs avec l'openmoko - play chess on openmoko

Submitted by nlaurance. on 21/09/2008 10:20 . Actualité CommunautéArticles

le tout premier résultat des tests de compilation sur openmoko - gnuchess - first result of trying the compiler

TourEssai de gnuchess

premier essai de compilation pour faire tourner un programme gnu sur l'openmoko : gnuchess.

La version retenu est la 5.0.5

Il est tout a fait possible de charger et d'utiliser les livres d'ouvertures, ce qui renforce la difficulté et diminue les temps de réponse.


first try at compiling a gnu program for the openmoko : gnuchess

We compiled the 5.0.5 version

It is possible and advisable to use the opening books, this strengthen the game and makes the computer play quicker

Ecran

voila ce que donne une session de jeu

root@om-gta02:~# gnuchess
GNU Chess 5.0.5

Transposition table: Entries=1K Size=40K
Pawn hash table: Entries=0K Size=32K
White (1) : e2e4
1. e2e4

black KQkq e3
r n b q k b n r
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . P . . .
. . . . . . . .
P P P P . P P P
R N B Q K B N R

Thinking...
Looking for opening book in book.dat...
Read opening book (book.dat)...
Loading book from book.dat.
1156 hash collisions... Opening database: 5346 book positions.
In this position, there are 8 book moves:
Nc6(50/1/1/0) Nf6(33/0/1/2) c6(63/22/8/24) d6(69/5/2/1)
e6(73/7/1/5) c5(41/4/9/16) d5(75/1/0/1) e5(55/40/30/40)
e5(74) c6(73) e6(72) d6(64) Nc6(50) d5(50) c5(43) Nf6(33)
Root = -82, Phase = 1
Time = 5.00, Max = 20.00, Left = 0.00, Moves = 0
Ply Time Eval Nodes Principal-Variation

white KQkq
r n b q k b n r
p p . p p p p p
. . p . . . . .
. . . . . . . .
. . . . P . . .
. . . . . . . .
P P P P . P P P
R N B Q K B N R


My move is : c6

il manque evidemment une interface graphique, comme xboard, mais cela c'est pour une autre fois.

We miss a GUI, like  xboard, but that is saved until later

download

get the packageCavalier

and have fun !

icons from iconspedia





Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: