Chess game for terminal written in Ruby