Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim OKelly thatrubylove

View GitHub Profile
@thatrubylove
thatrubylove / gol.rb
Last active Aug 29, 2015
Functional Game of Life (spike)
View gol.rb
require 'curses'
module Seeder
extend self
def generate_matrix
rand(40..200).times.map { [rand(24), rand(48)] }
end
end
class Universe