fix off bugs to remove blocks

Add a getRandomMove function to perform a random move when we lose