Programmatically generate linear moves