Skip to content

hugo-russeil/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

A simple implementation of the classic arcade game Asteroids using C and raylib. This project was created as a way to keep busy and learn while having fun.

Installation

Clone the repository using the following command:

git clone https://github.com/hugo-russeil/asteroids.git

Once cloned, navigate into the repository directory and use the provided Makefile to compile the game:

cd asteroids
make

Ensure you have raylib installed on your system. If not, you can check out raylib's website.

Precompiled Binaries

If you don't want to compile the game yourself, you can download precompiled binaries from the releases page. There are versions available for both Windows and Linux.

Usage

The keys to control the game are as follows:

  • the arrow keys to move your spaceship
  • the space bar to shoot
  • the grave key (`) to toggle debug mode.

Features

This version of Asteroids is inspired by the original game but includes some differences as I did not aim to create a perfect replica.

Contributing

While contributions are not expected, feel free to submit pull requests if you have any improvements or suggestions. My aim is to learn and i am open to any constructive feedback.

License

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

Credits