A Ruby chess game