console chess in ruby