Skip to content

Open source terminal arcade game with audio - based off of the classic "Space Invaders"

Notifications You must be signed in to change notification settings

madchicken/invaders

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invaders

Invaders is an open source terminal arcade game with audio, based off of the "Space Invaders" classic arcade game.

This game was initially developed for a presentation at OSCON Open Source Software Superstream Series: Live Coding—Go, Rust, and Python and then adapted for inclusion as an example project for the 2020 version of Ultimate Rust Crash Course. The tags part-1, part-2, etc. correspond to the various stages of the original presentation.

Since the original presentations, folks continue to tinker and improve the game. Feel free to fork this repository, make a change, and submit a pull request if you have a good idea!

Sound Files

If you want the sound files used in the course video, but don't want to clone the repository, here are all the sounds in two different archive formats (the sound files are the same):

Notice the new path to the sound files used in the course. It is now under audio > original. All new contributions can be placed under audio > contributions.

We have now a new set of instrumental music sound files in MP3 format. You may listen to the sounds on Musescore.com.

Dependencies on Linux

Audio should work out-of-the-box on macOS, Windows, and iOS. For Linux, the downstream package for actually playing sound ([CPAL]) requires the Alsa development libraries to be installed.

CentOS

sudo yum install -y alsa-lib-devel

Debian/Ubuntu

sudo apt install libasound2-dev pkg-config

Community Projects

If you have created a project based off of what you learned from this one, feel free to open a PR and add it to the list below!

Contribution

All contributions are assumed to be dual-licensed under MIT/Apache-2.

License

Distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See license/APACHE and license/MIT.

Sponsor

Star this repository and sponsor me to support projects like this. 💖

About

Open source terminal arcade game with audio - based off of the classic "Space Invaders"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%