CLI chess in Ruby