Sha256: bc5720e036bd7c4d002d8cec49a08c67d876b50e15cfe912e49366fb793ce39d

Contents?: true

Size: 234 Bytes

Versions: 7

Compression:

Stored size: 234 Bytes

Contents

#!/usr/bin/env ruby
require 'dcell'

DCell.start :id => "scratchy", :addr => "tcp://127.0.0.1:9002"
itchy_node = DCell::Node["itchy"]

puts "Fighting itchy! (check itchy's output)"

6.times do
  itchy_node[:itchy].fight
  sleep 1
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dcell-0.16.0 examples/scratchy.rb
dcell-0.16.0.pre examples/scratchy.rb
dcell-0.15.0 examples/scratchy.rb
dcell-0.15.0.pre examples/scratchy.rb
dcell-0.14.0 examples/scratchy.rb
dcell-0.13.0 examples/scratchy.rb
dcell-0.13.0.pre examples/scratchy.rb