board works after every move