summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-05-07 14:22:44 +0000
committerjmmv <jmmv@pkgsrc.org>2003-05-07 14:22:44 +0000
commita90096c2ccb959b628c2f668e3512a0d34efdad6 (patch)
tree1195f80d294674322f13fe88e719a065780a5129 /games
parentd82f3d4a1e0975af7edcbfbc5cd2e2995f764637 (diff)
downloadpkgsrc-a90096c2ccb959b628c2f668e3512a0d34efdad6.tar.gz
Initial import of sirius 0.5.0:
Sirius is a program for playing the game of othello. The program includes an AI (Artificial Intelligence) opponent which plays at a very challenging level and is actually quite hard to beat. The AI opponent's strength can therefore be adjusted in several ways to give you a suitable opponent.
Diffstat (limited to 'games')
-rw-r--r--games/sirius/DESCR15
-rw-r--r--games/sirius/Makefile30
-rw-r--r--games/sirius/PLIST12
-rw-r--r--games/sirius/distinfo4
4 files changed, 61 insertions, 0 deletions
diff --git a/games/sirius/DESCR b/games/sirius/DESCR
new file mode 100644
index 00000000000..aa3bc9471a8
--- /dev/null
+++ b/games/sirius/DESCR
@@ -0,0 +1,15 @@
+Sirius is a program for playing the game of othello. The program includes
+an AI (Artificial Intelligence) opponent which plays at a very challenging
+level and is actually quite hard to beat. The AI opponent's strength can
+therefore be adjusted in several ways to give you a suitable opponent.
+
+The AI opponent uses a plain alpha-beta search with hashing to figure out
+which move to make. To be able to tell a good position from a bad one, it
+uses a pattern based evaluation function. The pattern used is the 9 discs
+surrounding each corner and the 8 discs creating the edge of the board.
+The evaluation function also takes mobility, potential mobility and parity
+into count. For the initial 9 moves the AI opponent optionally uses a
+simple opening book. During midgame it searches and evaluates about
+200.000 nodes per second on a PIII 750 MHz, in the endgame this number is
+significantly higher due to more transpositions and a less expensive
+evaluation function.
diff --git a/games/sirius/Makefile b/games/sirius/Makefile
new file mode 100644
index 00000000000..5008fbaabab
--- /dev/null
+++ b/games/sirius/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/07 14:22:44 jmmv Exp $
+#
+
+DISTNAME= sirius-0.5.0
+CATEGORIES= games gnome
+MASTER_SITES= http://sirius.bitvis.nu/files/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://sirius.bitvis.nu/
+COMMENT= Othello game for GNOME2
+
+BUILD_USES_MSGFMT= YES
+DEPENDS= gnome2-dirs>=1.1:../../misc/gnome2-dirs
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+USE_LIBTOOL= YES
+USE_PKGLOCALEDIR= YES
+USE_X11= YES
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../devel/GConf2/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../graphics/libgnomecanvas/buildlink2.mk"
+.include "../../x11/gtk2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/sirius/PLIST b/games/sirius/PLIST
new file mode 100644
index 00000000000..7f301fa31a9
--- /dev/null
+++ b/games/sirius/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/07 14:22:44 jmmv Exp $
+bin/sirius
+share/applications/sirius.desktop
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/sirius.mo
+share/pixmaps/sirius.png
+share/pixmaps/sirius/marker_classic.png
+share/sirius/corner
+share/sirius/edge
+share/sirius/opening_book
+@dirrm share/sirius
+@dirrm share/pixmaps/sirius
+@comment in gnome2-dirs: @dirrm share/applications
diff --git a/games/sirius/distinfo b/games/sirius/distinfo
new file mode 100644
index 00000000000..e9bd08819b0
--- /dev/null
+++ b/games/sirius/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/07 14:22:44 jmmv Exp $
+
+SHA1 (sirius-0.5.0.tar.gz) = f2115bcf8c7aea8615bd2d1ae0461e81c5d850b2
+Size (sirius-0.5.0.tar.gz) = 1264139 bytes