My attemp to make a basic chess engine