Automate turns

Fixes #7