Skip to content

supxinfy/breakout-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Breakout Game in Zig

Welcome to the Breakout game project written in Zig!

Table of Contents

Introduction

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:

Breakout game

Features

  • Classic Breakout gameplay
  • Simple and clean codebase
  • Written in Zig

Installation

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-zig

Build the project:

zig build

Usage

Run the game:

zig build run

Use the 'a' and 'd' keys to move the paddle and try to break all the bricks!

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple breakout game in Zig inspired by tsoding stream.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages