marsj725/TDDD49 — pull request #18 by samni698 (2014-12-03 17:11:13+00:00)
Title: Check

Has implemented functions in each Piece which returns all the possible moves that piece can do. I also implemented a function which returns all the possible moves a player can do. Since it now was pretty easy to implement a function which returns if a player is in check or not, i did that to.

The code is not very effective, not very good looking or easy to understand, but it seems to work.