# File lib/libttc.rb, line 480 def Game.read_game(gamelines) gamelines.each {|l| l.chomp!} game = Game.new(gamelines[0].to_i, 6, 6, 6, 6) moves = [] gamelines[1..-2].each {|m| moves << m.to_move(game)} return game, moves, gamelines[-1].to_i end