Skip to content

Instantly share code, notes, and snippets.

@codeschool-courses
Created August 20, 2012 18:20
Show Gist options
  • Save codeschool-courses/3406403 to your computer and use it in GitHub Desktop.
Save codeschool-courses/3406403 to your computer and use it in GitHub Desktop.
RubyBits 6-6 - emulator.rb
class Emulator
def initialize(system)
# Creates an emulator for the given system
end
def play(game)
# Runs the given game in the emulator
end
def start(game)
# Loads the given game but doesn't run it
end
def screenshot
# Returns a screenshot of the currently loaded game
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment