began writing player class and wrote code to check if they're in check. should work but will need to test