Runnning the ruby file
Install gem trollop
gem install 'trollop'
running script ruby chess.rb -p "piece" -s "squareposition"
sample ruby chess.rb -p "KNIGHT" -s "D2" ruby chess.rb -p "knight" -s "d2"
Runnning the ruby file
Install gem trollop
gem install 'trollop'
running script ruby chess.rb -p "piece" -s "squareposition"
sample ruby chess.rb -p "KNIGHT" -s "D2" ruby chess.rb -p "knight" -s "d2"