Local changes

Change the way the program check if there is no moves available after
rolling dices. It now check if there is a home phase first.