Refactor functions that transform between board coordinates and SDL
coordinates to work on coordinate pairs rather than individual coordinates.