Simplified move generation logic.