Sha256: e8ea7b908825198b71e53f4adaf4c4c4d675545e8c2bb17d75c17163169d752e
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
#!/usr/bin/env ruby require 'gameboard' class ShowOff include Gameboard def initialize # set = [ # [1,2,3], # ["A", "B", "C"], # ["X", "Y", "Z"] # ] board = Board.new(height: 8, width: 10, cell_value: "O") # board = Board.new(preset: set) Render::clear Render::board(board.to_val(:horizontal)) end end ShowOff.new
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gameboard-4.0.0 | bin/preview |