# File lib/libttc.rb, line 466
  def show_state
    @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