Skip to content
This repository
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 .yardopts
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile.rb
Octocat-spinner-32 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.