initial checkin : basic gameplay, castling, but no check/mate detection