awale man page on DragonFly
[printable version]
AWALE(6) AWALE(6)
NAME
awale - the free implementation of the African game
SYNOPSIS
awale [-h] [-v] [-r] [-b board] [-o score] [-c line] [-p hole] [-d
depth] [-l level] [-e number] [-m] [-a] [-k] [-s] [-i] [-x]
DESCRIPTION
awale is a game widely spread in Africa and is played with different
rules. The rules adopted in this implementation of the game are those
encountered in West Africa and more specifically in Ivory Coast.
OPTIONS
-h, --help
display this help and exit
-v, --version
display version information and exit
-r, --rule
display the rule of awale game
-b board, --board=board
initialize the board with board. board is a string of the form
h1-h2- ... h12 where hi is the number of seeds in hole i
-o score, --score=score
initialize the score with score. score is a string of the form
s1-s2 where sj is the score of player j
-c line, --computer=line
computer begins and plays the line=1 or 2
-p hole, --player=hole
player begins and first plays the hole=1...12
-d depth, --depth=depth
initial depth of searching for the min-max algorithm (default
depth=9)
-l level, --level=level
play the game at level=1, 2 or 3 (default level=1)
-e number, --eat=number,
maximum number of holes which can be eaten (default E=4)
-m, --noeatmore
eat nothing when trying to eat more than E holes
-a, --noeatall
eat nothing when trying to eat all opponent seeds
-k, --noattackall
forbidden to attack all opponent seeds excepted if this is the
only possible move
-s, --single
process a single move
-i, --hint
print hints
-x, --xawale
start in engine mode. A several line output is provided at each
turn. Each line is, board=BOARD score=SCORE move=I LABEL where I
is the last hole played, LABEL may be COM if the turn is still
in computing, RUN if the turn is finished but the game is still
running, END if the game is over or ERR if the played hole is
invalid.
REPORTING BUGS
Report bugs to <alain.le-bot@ec-lyon.fr>.
COPYRIGHT
Copyright © 2006 Alain and Laurent Le Bot. There is NO warranty; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may
redistribute copies of awale under the terms of the GNU General Public
License. For more information about these matters, see the file named
COPYING.
SEE ALSO
xawale(6)
awale 1.6 August 2009 AWALE(6)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|