Steps to Reproduce: 1. Execute App.java 2. Move a piece to its current location Expected Results: The move is illegal, and ignored. Actual Result : Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError at chess.chess.Move.setKilledPiece(Move.java:21)
The bug was related to the fact that when we release the mouse, the piece tries to move to the same location it is currently at. It tries to it itself and it raises Exception. Solved by checking current and next point of the move `public boolean makeMove(Point start, Point end)` in Game.java.
https://github.com/glennsalter/cs3343-chess/commit/be2db72f47c73a648f9232501ee16a63a0792093