# File lib/libttc.rb, line 552 def show_state puts build_state_string # @pieces.keys.sort.each do |piece_name| # if @pieces[piece_name].captured # puts "Piece #{piece_name} captured, at #{@pieces[piece_name].position}" # else # puts "Piece #{piece_name} is at #{@pieces[piece_name].position}, holds #{(@pieces[piece_name].contains.collect{|c| c.name}).join(' ')}" # end # end end