Sha256: 2f4181ffe5d7955faf2c066547acb55f086f1726b2f00a8a466e8c76967b5e4f

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

# Sashite::GAN

Implementation of [General Actor Notation](//sashite-wiki.herokuapp.com/General_Actor_Notation) for storing actors from abstract strategy games.

## Status

[![Gem Version](https://badge.fury.io/rb/sashite-gan.svg)](//badge.fury.io/rb/sashite-gan)
[![Build Status](https://secure.travis-ci.org/sashite/gan.rb.svg?branch=master)](//travis-ci.org/sashite/gan.rb?branch=master)

## Installation

Add this line to your application's Gemfile:

    gem 'sashite-gan'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sashite-gan

## Usage

    require 'sashite-gan'

    actor = Sashite::GAN::Actor.new 2,
      'bc096c4c7f48fc5c4c162555e4df98169e204aea', 'top', 'xianqi', 'rook'
    actor.to_gan # => '2:bc096c4c7f48fc5c4c162555e4df98169e204aea:top:xianqi:rook'

## 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sashite-gan-0.0.2 README.md
sashite-gan-0.0.1 README.md