Console chess game in Ruby