Guitar Hero in the macOS Terminal!
Inspired by rational-kunal/SSSnake
Created by Agatha Schneider and Adriel de Souza
byteStrum is a minimalist rhythm game that brings the excitement of Guitar Hero to your macOS Terminal. It's a Swift-based project that utilizes AVFoundation to play .midi files, allowing users to simulate playing songs directly from the command line.
- ๐ถ Play
.midisongs directly in the Terminal - ๐น๏ธ Simulate guitar strumming with keyboard inputs
- ๐ Simple file-based song selection
- ๐งช Lightweight and easy to run
-
Clone the repository:
git clone https://github.com/htaschne/byteStrum.git cd byteStrum -
Open the project in Xcode:
open byteStrum.xcodeproj
-
Build and run the project:
- Ensure you have a song file (e.g.,
song.midi) placed in thesongsdirectory. - Modify the
main.swiftfile to point to your project folder:
let basePath = "/Users/your-username/GitHub/byteStrum/"
- Ensure you have a song file (e.g.,
-
Build and run the project in Xcode.
- Run the project in Xcode.
- Launch the game from the Terminal.
- Follow the on-screen prompts to select and play a song.
- Use your keyboard to simulate guitar strumming in sync with the music by pressing
A,S,D, orFwhen the notes reach the bottom.
