aboutsummaryrefslogtreecommitdiffstats
path: root/packages/phalanx
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/phalanx
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
downloadopenembedded-c8e5702127e507e82e6f68a4b8c546803accea9d.tar.gz
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/phalanx')
-rw-r--r--packages/phalanx/.mtn2git_empty0
-rw-r--r--packages/phalanx/phalanx/.mtn2git_empty0
-rw-r--r--packages/phalanx/phalanx/capabilities18
-rw-r--r--packages/phalanx/phalanx/description10
-rw-r--r--packages/phalanx/phalanx/gcc3.patch73
5 files changed, 101 insertions, 0 deletions
diff --git a/packages/phalanx/.mtn2git_empty b/packages/phalanx/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/phalanx/.mtn2git_empty
diff --git a/packages/phalanx/phalanx/.mtn2git_empty b/packages/phalanx/phalanx/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/phalanx/phalanx/.mtn2git_empty
diff --git a/packages/phalanx/phalanx/capabilities b/packages/phalanx/phalanx/capabilities
index e69de29bb2..703cf84f3c 100644
--- a/packages/phalanx/phalanx/capabilities
+++ b/packages/phalanx/phalanx/capabilities
@@ -0,0 +1,18 @@
+[GENERAL]
+NAME=Phalanx
+VERSION=0.1.2
+exec=phalanx
+cmd=-l- -P /opt/QtPalmtop/chess/engines/Phalanx -S /opt/QtPalmtop/chess/engines/Phalanx
+
+[CAPABILITIES]
+UNDO=1
+EDIT=1
+BOOK=1
+
+[DIFFICULTY]
+level_very_easy_cmd=-e 100
+level_easy_cmd=-e 75
+level_moderate_cmd=-e 42
+level_hard_cmd=-e 15
+level_very_hard_cmd=-e 0
+
diff --git a/packages/phalanx/phalanx/description b/packages/phalanx/phalanx/description
index e69de29bb2..945d103565 100644
--- a/packages/phalanx/phalanx/description
+++ b/packages/phalanx/phalanx/description
@@ -0,0 +1,10 @@
+<qt>
+<b>Phalanx</b>
+<hr>
+Phalanx chess engine was written by Dusan Dobes and it is one of the youngest of the
+free chess programs.
+Despite this fact it has managed to become quite strong approaching the level of some
+modern commercial chess software.
+<br>
+This engine supports differing difficulty levels
+</qt>
diff --git a/packages/phalanx/phalanx/gcc3.patch b/packages/phalanx/phalanx/gcc3.patch
index e69de29bb2..3502a691d0 100644
--- a/packages/phalanx/phalanx/gcc3.patch
+++ b/packages/phalanx/phalanx/gcc3.patch
@@ -0,0 +1,73 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- Phalanx-XXII/phalanx.c~gcc3.patch
++++ Phalanx-XXII/phalanx.c
+@@ -11,30 +11,30 @@
+
+ void badoptions(void)
+ {
+-printf("\
+-Usage: phalanx [options] [<moves> <minutes> [<increment in seconds>]]
+- phalanx [options] [<seconds per move>]
+- phalanx bench
+- phalanx bcreate [options]
+-Options: -t <transposition table size in kilobytes>
+- -f <fixed search time in seconds>
+- -x <+/-> xboard mode on/off default: on
+- -p <+/-> permanent brain on/off default: off
+- -s <+/-> show thinking on/off default: off
+- -c <+/-> cpu time default: off
+- -o <+/-> polling input default: on
+- -b <+/-> opening book default: on
+- -r <resign value in centipawns> default: 0 (no resigning)
+- -e <easy level 0...100> default: 0 (best play)
+- -l <+/-> learning on/off default: on
+- -v print version and exit
+- -P <primary book directory>
+- -S <secondary book directory>
+- -L <learning file directory>
+- -g <log file name>
+-Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000
+- xboard -fcp \"phalanx -l+ -r800\"
+-");
++printf("\n"
++"Usage: phalanx [options] [<moves> <minutes> [<increment in seconds>]]\n"
++" phalanx [options] [<seconds per move>]\n"
++" phalanx bench\n"
++" phalanx bcreate [options]\n"
++"Options: -t <transposition table size in kilobytes>\n"
++" -f <fixed search time in seconds>\n"
++" -x <+/-> xboard mode on/off default: on\n"
++" -p <+/-> permanent brain on/off default: off\n"
++" -s <+/-> show thinking on/off default: off\n"
++" -c <+/-> cpu time default: off\n"
++" -o <+/-> polling input default: on\n"
++" -b <+/-> opening book default: on\n"
++" -r <resign value in centipawns> default: 0 (no resigning)\n"
++" -e <easy level 0...100> default: 0 (best play)\n"
++" -l <+/-> learning on/off default: on\n"
++" -v print version and exit\n"
++" -P <primary book directory>\n"
++" -S <secondary book directory>\n"
++" -L <learning file directory>\n"
++" -g <log file name>\n"
++"Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000\n"
++" xboard -fcp \"phalanx -l+ -r800\n"
++"");
+ exit(0);
+ }
+
+--- Phalanx-XXII/io.c~gcc3.patch
++++ Phalanx-XXII/io.c
+@@ -894,7 +894,7 @@
+ { case 0: puts("off"); break;
+ case 1: puts("on"); break;
+ case 2: puts("on (pondering)"); break;
+- default:
++ default:;
+ }
+
+ printf(" Transposition table ... ");