GitXplorerGitXplorer
C

invaders

public
211 stars
108 forks
1 issues

Commits

List of commits on branch main.
Unverified
21c3d01230a30ce70e2475763d280168428b449d

cargo fmt

CCleanCut committed 3 months ago
Unverified
22ac2dfadae5833f2a410772d93e458c1c57430b

make clippy happy

CCleanCut committed 3 months ago
Verified
df8a95d6ec728ed49ee8b33026833a4fcd745353

Merge pull request #25 from dallmo/main

CCleanCut committed 3 months ago
Verified
1ebfdf87cfa4341126e00256577512b6b4005f94

Update README.md

ddallmo committed 3 months ago
Unverified
55a56c7bb22d23196469cb84684caf4ef9a4329d

add audio files

jjimzcc committed 3 months ago
Verified
efa101f538867203d6c854a6a11ceed29732821b

Create README.md

ddallmo committed 3 months ago

README

The README file for this repository.

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

Arch Linux

sudo pacman -S alsa-lib pkgconf libx11

You will also need pipewire-alsa or pulseaudio-alsa depending on the sound server you are using.

Community Games!

Were you inspired to make your own terminal-based game? Open a PR to add it to the list here!

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. 💖