Thanks to visit codestin.com
Credit goes to github.com

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