lib/modules/output.rb in codebreaker_paratskiy-0.2.2 vs lib/modules/output.rb in codebreaker_paratskiy-0.2.3
- old
+ new
@@ -34,13 +34,13 @@
def generate_table_values(sorted_stats)
sorted_stats.each do |player|
row do
column(player[:name])
column(player[:difficulty])
- column(player[:attempts_total])
- column(player[:attempts_used])
- column(player[:hints_total])
- column(player[:hints_used])
+ column(player[:total_attempts])
+ column(player[:used_attempts])
+ column(player[:total_hints])
+ column(player[:used_hints])
end
end
end
def show_msg(type)