Sashite::GGN

A collection of mappers for GGN objects.

Status

  • Gem Version
  • Build Status
  • Dependency Status

Installation

Add this line to your application's Gemfile:

gem 'sashite-ggn'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sashite-ggn

Usage

Working with GGN can be very simple, for example:

require 'sashite-ggn'

state = Sashite::GGN::State.new
state.last_moved_actor       = nil
state.previous_moves_counter = nil

subject = Sashite::GGN::Subject.new
subject.ally  = true
subject.actor = :self
subject.state = state

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request