enterTurn is added.
Autocompletion based on state is introduced.