A classic Match-3 puzzle game written in C using raylib.
A classic Match-3 puzzle game written in C using the raylib graphics and audio library. The game features smooth tile animations, score effects, background music, and sound effects.
This project includes a pre-built macOS (Apple Silicon) release and can also be built from source.
Go to the Releases section of this repository and download:
Match3-macOS.zip
unzip Match3-macOS.zip
cd Match3-macOS
./match3
โ ๏ธ Platform Support
brew install raylib pkg-config
From the project root directory:
gcc src/main.c -o match3 \
$(pkg-config --cflags raylib) \
$(pkg-config --libs raylib) \
-framework OpenGL \
-framework Cocoa \
-framework IOKit \
-framework CoreVideo
./match3
Match3-Game-with-raylib/
โโโ src/
โ โโโ main.c
โโโ assets/
โ โโโ background.jpg
โ โโโ 04b03.ttf
โ โโโ bgm_old.mp3
โ โโโ match.mp3
โโโ README.md
โโโ .gitignore
The game requires the following files inside the assets/ directory:
background.jpg โ Background image04b03.ttf โ Pixel fontbgm_old.mp3 โ Background musicmatch.mp3 โ Match sound effectAsset paths are relative to the executableโs working directory.
MIT License Free to use, modify, and distribute with attribution.