Now generates a new piece after an action is taken