kittyverse library / gem - helper classes for cattributes, trait types, traits, genes, genomes and more for cryptokitties and copycats cryptocollectibles (on the blockchain)

Gerald Bauer <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CAAxEZd-gaped-EtTDE--+D5zzE4x97r3rSJ7Zvej+oZAHWToYg@mail.gmail.com>
Hello,

   I've updated the free (open source) kittyverse library / gem that
includes helper classes
  for cattributes, trait types, traits, genes, genomes and more for
  cryptokitties and copycats cryptocollectibles (on the blockchain).
  Example:

  Use the Traits helper class to lookup trait types (e.g. fur,
pattern, eye color, eye shape, base color, etc.) and traits (e.g.
savannah, selkirk, chantilly, etc.):

    t = Traits[ 'FU00' ]
    p t.class      #=> Trait
    p t.name       #=> "Savannah"
    p t.type.name  #=> "Fur"
    p t.code       #=> "FU00"
    p t.kai        #=> "1"

  Or use the Fancy helper class to lookup fancy or exclusive or
special edition cats incl. timed trait recipes / forumlas, counts,
limits, ids and more:

    f = Fancy[ 'Genesis' ]
    p f.class         #=> Fancy
    p f.name          #=> "Genesis"
    p f.key           #=> :genesis
    p f.exlusive?     #=> true
    p f.ids.size      #=> 1
    p f.ids           #=> [1]
    #...

  and so on.

  Happy data wrangling, cat herding and bits & bytes slicing w/ ruby.
Cheers. Prost.

[1a] https://rubygems.org/gems/kittyverse
[1b] https://github.com/cryptocopycats/kittyverse

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.