3
Vote

Click & drag functionality

description

The general idea is to allow clicking on any chess piece object and allow dragging it into any square on the grid. It doesn't matter if the grid's squares are valid moves for the selected piece, the chess engine can take care of this validation later. A desired behavior is to gray out in some way the rest of the pieces or to highlight the current piece to allow better differentiation.

comments

agustinsanchez wrote Apr 13, 2008 at 9:24 PM

Performed some refactoring on the Material variable for ChessPiece, now it's called GeometryModel which is more accurate because it already contains a "material" property internally. This avoids duplications when invoked.

wrote Apr 13, 2008 at 11:18 PM

agustinsanchez wrote Apr 13, 2008 at 11:35 PM

Just uploaded a version that allows graying out items when clicked.

wrote Apr 14, 2008 at 4:35 PM

wrote Feb 13, 2013 at 6:53 PM

wrote Oct 2, 2013 at 1:31 PM