Chess game programmed in Ruby