LIBMANGALA(3) | Library Functions Manual (prm) | LIBMANGALA(3) |
mgl_initgame
,
mgl_playturn
, mgl_endgame
,
— Turkish mancala game library
#include
<mangala.h>
struct mgl_game;
int
mgl_endgame
(struct
mgl_game *game);
int
mgl_playturn
(struct
mgl_game *game, int
sel);
void
mgl_initgame
(struct
mgl_game *game);
Descriptions of fucntions:
retuns MGL_ERR if sel is not true. Otherwise it returns MGL_OK.
For a complete example/demo please see https://kurth4cker.codeberg.page/mangala
kurth4cker <kurth4cker@tutanota.com>
For reporting bugs, please use: https://codeberg.org/kurth4cker/libmangala/issues
05 Dec, 2022 | GNU/Linux |