MANCALA
    das Bohnenspiel

DEPENDENCIES:
    Allegro 4.2.2 (earlier versions not testet)
    to compile you need a C++ compiler (g++, mingw)
    
INSTALL WINDOWS:
    1. execute Setup_Mancala_eng.exe
    2. You will find the game in your Startmenu

INSTALL LINUX:
    There is a precompiled binary (mancala) in the folder, if it fails, you have to compile the game yourself -> see COMPILE

COMPILE:
    1. unpack file
    2. change makefile (LINUX or WIN)
    3. make
    optional:
    4. make install (become root)

START GAME
    1. click at mancala or mancala.exe
    2. play a 2 - player- or singleplayergame
    
        To play against the computer, click the "computer ein" button, the computer makes its turn after you clicked the right mouse button
        At this time there is only a simple AI in the game
        To play against another human, just click the "computer aus" button

HOW TO PLAY:
    Mancala is played with to players. Each player gets the same amount of Stones in every field at his side, ex. 48 Stones makes 4 Stones in each of the 12 fields on the playground

    Player 1 takes all of the stones from one of his fields and puts them one by one in the next fields until none is left.
    
    If the last stone falls in the own endfield, you win this stone and you play again; if the last stone falls on an empty field, at your side, you win this stone and every stone from the opposite side too.
    
    example:
    0 4_4_4_4_4_4
       4_4_4_4_4_4 0                Start

    1 5_5_5_0_4_4
       4_4_4_4_4_4 0                1. turn Player 1 may play again, because his last stone falled in his endfield

    1 0_5_5_0_4_4
       5_5_5_5_5_4 0                2. turn Player 1

    1 0_5_6_1_5_5
       5_5_5_5_0_5 0                3. turn Player 2

    7 0_6_7_2_6_0
       0_5_5_5_0_5 0                4. turn Player 1 - wins his last and all the stones of the opposite field, because his last stone falled into an empty field

       aso.

    Winning:
            The winner is that player with the most stones = more than 24
            If there are no stones left at one side, the other player is the winner

    You play with the mouse, right mouse button shows the next turn, left mouse button makes the turn
    ESC quits the game

, enjoy

AUTHOR
    made by AE <andi@obergrabnerhof.at>
    may, 2010
    
    Version 1.00