nvzqz / Sage

A cross-platform chess library for Swift
Apache License 2.0
373 stars 43 forks source link

Replace Piece at Square by other Piece #11

Closed hunght closed 8 years ago

hunght commented 8 years ago

Great thank for this lib, i try to Replace Piece at Square by other Piece, how could i do this ? Thank and best regards

nvzqz commented 8 years ago

You can subscript a Board with a Square and assign pieces that way. The Game class won't allow for manipulating the board directly, however.