/Chess

Primary LanguageRuby

Chess

Command-line chess game for two players written in Ruby. A possible moves array is generated for each player and invalid moves are rejected from play. King is prohibited from moving into check by iterating through possible moves of all opponent's pieces.