Add move counter. Add click event handlers.