This project is a C implementation of the classic game Arkanoid, based on the Raylib tutorial. It includes a Makefile to compile the project for both native Linux and WebAssembly using emcc.
- Native Build: Compile and run on Linux.
- WebAssembly Build: Compile to WebAssembly for running in the browser.
- Powered by Raylib, a simple and easy-to-use library for game development.
- GCC or Clang
- Raylib installed on your system (
sudo apt install libraylib-devon Debian-based systems)
- Clone the repository:
git clone https://github.com/Rococcoon/Arkanoid.git cd Arkanoid
- Linux: Install Raylib as described above.
- WebAssembly: Install and activate the Emscripten SDK.
- Compile the project:
make
- Run the project:
./arkanoid
- Compile the project:
./emcc.sh
- Serve the files locally (e.g., using Python's HTTP server):
python3 -m http.server