This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygame' | |
include Rubygame | |
# Stuff that I had to do to get this running: | |
# | |
# brew install sdl sdl_mixer | |
# gem install rubygame rsdl | |
# Let's start by trying to play a random mp3 passed as an argument |