module Basher

Constants

VERSION

Public Instance Methods

start(**options) click to toggle source
# File lib/basher.rb, line 10
def start(**options)
  Curtis.show do |screen|
    game = Basher::Game.new(screen, options)

    Curtis::Input.get do |key|
      result = game.handle(key)
      break if result == :quit
      game.render
    end
  end
end