SRS GAME
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