Sha256: 3411500b49cbf55e818e9b6364f5cdc69f7f5bdf9299685f99ecc509b150077f

Contents?: true

Size: 190 Bytes

Versions: 2

Compression:

Stored size: 190 Bytes

Contents

#!/usr/bin/env ruby

require 'lifegame'

x = (ARGV[0] || 20).to_i
y = (ARGV[1] || 50).to_i
frequency = (ARGV[2] || 0.2).to_f

game = Lifegame::Game.new(x, y)
game.sow!(frequency)
game.start

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lifegame-0.2.1 exe/lifegame
lifegame-0.2.0 exe/lifegame