Sha256: 26605cbd67e36764014ff574db1f968441b8d59369a101cb892c8c15ccc0a422

Contents?: true

Size: 122 Bytes

Versions: 2

Compression:

Stored size: 122 Bytes

Contents

require 'singleton'

class EmptySquare
  include Singleton

  def to_s
    '  '
  end

  def white
    '██'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sapphire-chess-1.0.1 lib/sapphire-chess/pieces/empty_square.rb
sapphire-chess-1.0.0 lib/sapphire-chess/pieces/empty_square.rb