Bug 717 - Wrong bishop movements
Summary: Wrong bishop movements
Status: RESOLVED FIXED
Alias: None
Product: Chess Game - Group 24
Classification: Unclassified
Component: Pieces (show other bugs)
Version: unspecified
Hardware: All All
: --- major
Assignee: Assan Kozhin
URL: https://github.com/glennsalter/cs3343...
Depends on:
Blocks:
 
Reported: 2022-11-19 16:54 HKT by Assan Kozhin
Modified: 2022-11-28 02:18 HKT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Assan Kozhin 2022-11-19 16:54:39 HKT
Bishop does not move diagonally from h towards a file when making vertically up. Upon code inspection, it was identified that bishop logic had logical errors and need to be rewritten.
Comment 1 Assan Kozhin 2022-11-19 17:09:40 HKT
Bishop moves were fixed by rewriting code and instead of trying to using complex code with lot's of conditions, simple and maintainable code was introduced.