implemented a very simple AI that does a random move each turn, can play both sides