8000 Redundant `to` parameter in Piece::moveUpdate() · Issue #107 · cpluspluscom/ChessPlusPlus · GitHub
[go: up one dir, main page]

Skip to content
Redundant to parameter in Piece::moveUpdate() #107
Open
@LB--

Description

@LB--

When Piece::moveUpdate() is called, the piece is already at the position indicated by to. This redundancy allows for subtle bugs if a coding mistake causes to to not be the actual position of the piece.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0