Board-Gamr is Game Engine to make console board games in c/c++ it provide all the necessary methods to make simple game using only ASCII characters It provides various types of Board,game Cards,Dice and Player modules. It works with all OS Windows,Mac,Linux etc because it used only standard header files.
NOTE : This game engine doesnt provide any GUI and works with console CLI based games.
AIM : The aim of this engine is only to provide the most efficient way of creating board games with pure c/c++ (no 3rd party library required) and with portability to any OS (Windows,Mac,Linux).
FEATURES :
1)Fast and flexible modules and methods to create board/player,cards and more.
2)Board module to access,manipulate game boards easily by row/columns/diagonals etc.
3)Player module to access,manipulate player's position/character easily.
4)Card module to add/remove/shuffle/draw game cards easily with automatic deck management.
5)Dice module to manage game die/dices and coins easily.
6)Time module to manage game time easily.
7)Font module to draw fonts that supports FIGlet fonts with no external dependency.
8)Inbuilt tools for converting/filling all type of arrays.
9)Adanced memory efficient design by selecting specific module at compile time.
10)Portable Game engine works any OS (Windows,Mac,Linux) with pure c/c++ (no 3rd party library required).
Using this format of macro USE%MODULE-NAME%MODULE example USE_BOARD_MODULE.
Use macro USE_ALL_MODULES to import all modules.
Using BG_InitGameBoard() and BG_DrawGameBoard() methods.
Using BG_FillBoardRow(),BG_FillBoardCol(),BG_FillBoardDiagonals() methods.
Game data by left/rightdiagonals.
Using BG_GetBoardInfo(),BG_GetPieceInfo() methods.
Get board information.
QUARTER-DECK Using BG_DrawDeck() and BG_DrawDeck() methods.
HALF-DECK Using BG_GetHalfDeck() and BG_DrawDeck() methods.
FULL-DECK Using BG_GetFullDeck() and BG_DrawDeck() methods.
RAND-DECK Using BG_GetRandDeck() and BG_DrawDeck() methods.
ADDING-CARDS Using BG_AddCard(),BG_AddCards() methods.
REMOVING-CARDS Using BG_RemoveCard(),BG_RemoveCards() methods.
MOVING-CARDS Using BG_MoveCards() method.
COPYING-CARDS Using BG_CopyCards() method.
SHUFFLE-DECK Using BG_ShuffleDeck() method.
PLAYER-TURNS Using BG_GetPlayerTurn() method.
RAND-TURNS Using BG_GetRandTurn() method.
PLAYER-POSITION Using BG_GetRandPosition() method.
PLAYER-PERCENT Using BG_GetScorePercent() method.
ROLL-DICE Using BG_RollDie(),BG_RollDice() methods.
FLIP-COIN Using BG_FlipCoin() method.
FONT-TEXT Using BG_DrawFont(),BG_DrawFontEx() methods.
FONT-DEFAULT Using BG_DrawFontDefault(),BG_DrawFontEx() methods.
FONT-WIDTH-ALLIGN Using BG_DrawFontArgs() method.
FONT-WIDTH-ALLIGN-WITH-ARGS Using BG_DrawFontVargs(),BG_DrawFontVargsEx() methods.
FONT-RIGHT-TO-LEFT Using BG_DrawFontRTL() method.
START-STOP-TIME Using BG_StartTime(),BG_StopTime() methods.
DELAY-TIME Using BG_TimeDelay() method.
FILL-ARRAYS Using BG_FillArray() method.
CONVERT-ARRAYS Using BG_ConvertArray() method.
RANDOM-GENERATOR Using BG_RandGenerator() method.
CLEAR-CONSOLE Using BG_ClearScreen() method.
All the error/exception handling is done by engine itself like if you tried to enter invalid data in board,or adding wrong cards to deck or forgot to import any module from engine etc engine will throw error.So you don't have to check for any error by yourself.
All Public and Semi-Public methods are accessible . But Private methods are not and library will throw error if you tried to access them.
Logs are disabled by default but if you want engine to maintain logs use BG_EnableLogs() method to enable logs. or if you want to disable logs again you can use BG_DisableLogs() method.
DOCUMENTATION INFO : Go to docs folder and open index.html or click here BoardGamr-Docs
VERSION INFO :
BoardGamr-Engine Version : V 1.0 Dated : 17/02/2019.