Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
spec
.gitignore
.rspec
.travis.yml
.yardopts
Gemfile
LICENSE
README.md
Rakefile.rb
srs_game.gemspec

README.md

SRS GAME

Build Status Dependency Status

SRS GAME logo

Welcome

SRS GAME is a framework and a collection of text-based games written in the Ruby 1.9 programming language.

SRS GAME is currently at version 0.1.1 (codename Alexis) on branch master, and 0.2.0-dev (codename Alice) on branch development.

If you find a bug, feel free to create an issue.

For more information, see the wiki.

API

See API at the wiki

irb > require "srs_game/tamera"
 => true
irb > game = Game.new(Tamera, color: false)
 => #<SRSGame::Game:0x000000022f1337>
irb > game.send "look"
 => "You find yourself in the Main Room.\nItems here are an AM/FM Radio.\nExits are east and west."
irb > game.send "north"
 => "NOPE. Can't go that way."
irb > game.send "west"
 => ""
irb > game.room
 => #<SRSGame::Location "the West Room" @items=[] exits=["east", "west"]>

License

SRS GAME is released under the zlib license. See LICENSE

Something went wrong with that request. Please try again.