GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AWALE(6) FreeBSD Games Manual AWALE(6)

awale - the free implementation of the African game

awale [-h] [-v] [-r] [-b board] [-o score] [-c line] [-p hole] [-d depth] [-l level] [-e number] [-m] [-a] [-k] [-s] [-i] [-x]

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.

display this help and exit
display version information and exit
display the rule of awale game
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
initialize the score with score. score is a string of the form s1-s2 where sj is the score of player j
computer begins and plays the line=1 or 2
player begins and first plays the hole=1...12
initial depth of searching for the min-max algorithm (default depth=9)
play the game at level=1, 2 or 3 (default level=1)
maximum number of holes which can be eaten (default E=4)
eat nothing when trying to eat more than E holes
eat nothing when trying to eat all opponent seeds
forbidden to attack all opponent seeds excepted if this is the only possible move
process a single move
print hints
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.

Report bugs to <alain.le-bot@ec-lyon.fr>.

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.

xawale(6)

August 2009 awale 1.6

Search for    or go to Top of page |  Section 6 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.