need to fix makeMove method. It's an absolute mess.