I'm struggling to get my head around how this motor works.
Let's say for the sake of argument that the field lines are running from the LHS of the bar magnet round to the right and that current flows through the coil in a CW direction.
In the bottom right of the coil this would give us a force out of the page. but as the current travels round to the bottom left side of the coil it now has a vertical upward component and the force would be in to the page.
What am I missing?