fixed some syntax errors. still need to figure out how to get the opponents last moves