games/gnubg: Updated version, various cleanups.

This commit is contained in:
Erik Hanson 2010-05-21 14:48:46 -05:00 committed by erik@slackbuilds.org
parent 5ce2f05227
commit ad636befef
3 changed files with 16 additions and 26 deletions

View file

@ -1,24 +1,5 @@
GNU Backgammon (gnubg) is for playing and analysing backgammon positions,
games and matches. It's based on a neural network. In the past twelve months
it has made enormous progress. It currently plays at about the level of a
championship flight tournament player. Depending on its parameters and its
luck in recent games, it rates from around 1900 to 2000 on FIBS, the First
Internet Backgammon Server -- at its strongest, it ranks in the top 5 of over
6000 rated players there) and is gradually improving; it should be somewhat
stronger than this when released. Since almost all of the CPU time required
during supervised training is spent performing rollouts, and rollouts can
easily be performed in parallel, it is hoped that users will be able to pool
rollout results and collectively train it to a level stronger than any
individual could obtain.
You can also compete against recent versions of gnubg on FIBS; it plays
there under the names gnu, mgnutest, mpgnu, mgnu_advanced, mgnu_expert,
mgnu_WClass, ParlorBot and mgnu_zp.
GNU Backgammon also playes on GamesGrid. A version of GNU Backgammon with no
lookahead, 0-ply, plays with the nickname GGraccoon. GGraccoon is a very
popular opponent among the members at GamesGrid. GGraccoon usually rates
about 1900.
games and matches.
You may play GNU Backgammon using the command line or a graphical interface
(based on GTK+). For 3D Boards support you will need the GTK OpenGL

View file

@ -2,7 +2,7 @@
#
# Slackware build script for GNU Backgammon
#
# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,8 +24,7 @@
PRGNAM=gnubg
VERSION=0.90.0
SRCVER=20091120
ARCH=${ARCH:-i486}
SRCVER=20100521
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -34,12 +33,22 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
else
SLKCFLAGS="-O2"
fi
set -eu

View file

@ -1,8 +1,8 @@
PRGNAM="gnubg"
VERSION="0.90.0_20091120"
VERSION="0.90.0_20100521"
HOMEPAGE="http://www.gnubg.org/"
DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20091120.tar.gz"
MD5SUM="fe1491e1da6879628b6762ab717f0d77"
DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20100521.tar.gz"
MD5SUM="8772208ac6e168ec8f01cdcbbed9ee84"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"