Turn.order(:number).each do |t|
  gs = t.game_state
  puts "Turn ##{t.number} (ID: #{t.id}): Class=#{gs.class}, Sample=#{gs.inspect[0..100]}..."
end

puts "\n--- Fresh API Call (Initial State) ---"
client = GameApiClient.new
initial = client.api_game_initial_state
if initial
  puts "Initial State Class: #{initial.class}"
  puts "Initial State Keys: #{initial.keys}"
  gs_inner = initial['game_state']
  puts "Inner game_state Class: #{gs_inner.class}"
  puts "Inner game_state Sample: #{gs_inner.inspect[0..100]}" if gs_inner
end
