Welcome to the Breakout game project written in Zig!
This project is a simple implementation of the classic Breakout game using the Zig programming language. The goal is to break all the bricks using a ball while preventing the ball from falling off the screen using a paddle.
I was inspired by tsoding and his project zigout. So I'm sorry if my code have quite a resemblance of his. You can check out his stream as well.
Here is a picture of the game:
- Classic Breakout gameplay
- Simple and clean codebase
- Written in Zig
To build and run the game, you need to have Zig installed on your system. You can download Zig from the official website.
Clone the repository:
git clone https://github.com/yourusername/breakout-zig.git
cd breakout-zigBuild the project:
zig buildRun the game:
zig build runUse the 'a' and 'd' keys to move the paddle and try to break all the bricks!
This project is licensed under the MIT License. See the LICENSE file for details.
