Turkish mangala game library https://kurth4cker.codeberg.page/libmangala
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kurth4cker 31076f96ad
change style
3 months ago
.gitignore added mgl_init: initialize the game structure 9 months ago
COPYING added COPYING: Apache-2.0 License 10 months ago
Makefile separate game and turn related functions 4 months ago
README use struct mgl_game instead of mgl_game_t 4 months ago
game.c change style 3 months ago
libmangala.3 libmangala.3: add return value description 3 months ago
mangala.h turn.c: remove useless enum 3 months ago
turn.c change style 3 months ago


Turkish mancala game library. Turkish mancala (mangala) is a board game. This
library focus on providing simple game initialization, turn handling and game
check functions. So programmers don't need to worry about mangala related
handling issues. Just call a function for starting a turn, another for playing
turn and another for doing end-of-game tasks.

A C99-compiler and POSIX make.

Enter the following command to build and install libmangala
(if necessary as root):

	make install

For customizing installation directories you can set up PREFIX, BINDIR, and
MANDIR. Also you can use standart flag variables like CFLAGS and CPPFLAGS. For
example (for installing to users home directory):

	make install PREFIX=$HOME/.local

Include the header mangala.h in your code and link against libmangala with
"-lmangala". You don't need libmangala at your programs runtime. libmangala
provides only a static library ("libmangala.a") because of it is very little

See libmangala(3).


kurth4cker <kurth4cker@tutanota.com>