Simple text 2048 game in Ruby