# MagicWords **Repository Path**: Voidmatrix/MagicWords ## Basic Information - **Project Name**: MagicWords - **Description**: header-only console game library - **Primary Language**: C - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-12-16 - **Last Updated**: 2022-01-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MagicWords **header-only console game library** Define `MAGICWORDS_IMPLEMENTATION` to enable function definition, for example: ```cpp #define MAGICWORDS_IMPLEMENTATION #include "MagicWords.h" ``` Supported functions: ```cpp MW_Stage* MW_CreateStage(int width, int height); void MW_ClearStage(MW_Stage* stage, char c); void MW_RenderStage(const MW_Stage* stage); void MW_DestroyStage(MW_Stage* stage); MW_Sprite* MW_CreateSprite(const char** content, int width, int height); void MW_DestroySprite(MW_Sprite* sprite); void MW_CopySprite(MW_Stage* stage, const MW_Sprite* sprite, const MW_Rect* src, const MW_Point* dst); int MW_GetInput(int* input); // only for Windows ```