Sha256: 24a2488695634d387746fe77bb39f2f8dabee64296a8c4f63b84f4de4b159af3

Contents?: true

Size: 421 Bytes

Versions: 7

Compression:

Stored size: 421 Bytes

Contents

module Bioshogi
  module Board
    class Basic
      delegate :hash, to: :surface

      def initialize(&block)
        if block_given?
          yield self
        end
      end

      def surface
        @surface ||= {}
      end

      include UpdateMethods
      include ReaderMethods
      include TechniqueMatcherMethods

      prepend Explain::BoardPillerMethods
      prepend PieceCountsMethods
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bioshogi-0.0.10 lib/bioshogi/board/basic.rb
bioshogi-0.0.9 lib/bioshogi/board/basic.rb
bioshogi-0.0.8 lib/bioshogi/board/basic.rb
bioshogi-0.0.7 lib/bioshogi/board/basic.rb
bioshogi-0.0.5 lib/bioshogi/board/basic.rb
bioshogi-0.0.4 lib/bioshogi/board/basic.rb
bioshogi-0.0.3 lib/bioshogi/board/basic.rb