matthewJamesAbbott / Chess

A chess game that can be played in XWindows or Terminal
1 stars 0 forks source link

condense and reuse code in MoveCalculator #27

Closed matthewJamesAbbott closed 2 years ago

matthewJamesAbbott commented 2 years ago

there should only be five entries on the switch

king queen bishop knight rook and pawn.

colour and position should still be kept as strings in array to allow for castle checking

but moves do not need to continue knowledge of colour or position.

matthewJamesAbbott commented 2 years ago

fixed